summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsForAll/mylib.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-24 17:15:48 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-24 17:29:50 (GMT)
commitdc422d271e4504ebab2176e841480861a17d13e1 (patch)
treea52b3a9832d2b6e3d4b29c99be3dc71648862f56 /Tests/CPackComponentsForAll/mylib.cpp
parentf086c665da00228cabf465dc1eb7223d40fd6270 (diff)
downloadCMake-dc422d271e4504ebab2176e841480861a17d13e1.zip
CMake-dc422d271e4504ebab2176e841480861a17d13e1.tar.gz
CMake-dc422d271e4504ebab2176e841480861a17d13e1.tar.bz2
VS: Fix VS 2015 .vcxproj debug setting for older toolsets (#15986)
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>
Diffstat (limited to 'Tests/CPackComponentsForAll/mylib.cpp')
0 files changed, 0 insertions, 0 deletions