summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-19 13:04:25 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-21 13:28:19 (GMT)
commit03ad8f28c88dbd04c41c7f6b7cc96740e8a486a4 (patch)
tree4bb4ccf448c17c96da4628d187c8541d32124724 /Source/cmVisualStudio10TargetGenerator.cxx
parentf7ab23837994a4a6eff1c5ebf183ae915380b41c (diff)
downloadCMake-03ad8f28c88dbd04c41c7f6b7cc96740e8a486a4.zip
CMake-03ad8f28c88dbd04c41c7f6b7cc96740e8a486a4.tar.gz
CMake-03ad8f28c88dbd04c41c7f6b7cc96740e8a486a4.tar.bz2
CMakeDetermineCompilerABI: Link with standard libraries on MSVC
In commit v2.8.0~395 (Implicit link info for C, CXX, and Fortran, 2009-07-23) we added a '-DCMAKE_${lang}_STANDARD_LIBRARIES=' flag to the try_compile used to build the ABI detection project. It is needed when detecting the implicit libraries added by the GNU compiler on Windows (MinGW tools) to avoid contaminating the list with standard Windows libraries. However, with MSVC we do not detect such implicit link libraries anyway, and for some target platforms (e.g. Windows Phone) we may need the standard libraries to link the ABI detection executable. Drop the flag when detecting the ABI using MSVC.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
0 files changed, 0 insertions, 0 deletions