https://github.com/Kitware/CMake
Revision 3aa6fea69c0bd1614e13a67eb23ca033c0fe1795 authored by Brad King on 24 February 2016, 17:15:48 UTC, committed by Brad King on 07 March 2016, 15:09:09 UTC
Since commit v3.4.2~2^2 (VS: Fix VS 2015 .vcxproj file value for
GenerateDebugInformation, 2016-01-08) we generate invalid project
files for the v110 and v120 toolsets.  VS complains:

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(639,9):
    error MSB4030: "Debug" is an invalid value for the "GenerateDebugInformation" parameter of
    the "Link" task. The "GenerateDebugInformation" parameter is of type "System.Boolean".

This reveals that our VS flag map selection should be based on the
toolset instead of the version of VS.  However, that will be a
non-trivial change so for now fix this particular use case by
hard-coding a correction to the flag map.

Reported-by: Gregor Jasny <gjasny@googlemail.com>
1 parent f086c66
History
Tip revision: 3aa6fea69c0bd1614e13a67eb23ca033c0fe1795 authored by Brad King on 24 February 2016, 17:15:48 UTC
VS: Fix VS 2015 .vcxproj debug setting for older toolsets (#15986)
Tip revision: 3aa6fea
File Mode Size
Auxiliary
Help
Licenses
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 613 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 8.5 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 9.4 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 25.5 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CONTRIBUTING.rst -rw-r--r-- 1005 bytes
CTestConfig.cmake -rw-r--r-- 870 bytes
CTestCustom.cmake.in -rw-r--r-- 5.1 KB
CompileFlags.cmake -rw-r--r-- 3.1 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 804 bytes
README.rst -rw-r--r-- 2.9 KB
bootstrap -rwxr-xr-x 45.5 KB
cmake_uninstall.cmake.in -rw-r--r-- 790 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

README.rst

back to top