https://github.com/Kitware/CMake
Revision dc422d271e4504ebab2176e841480861a17d13e1 authored by Brad King on 24 February 2016, 17:15:48 UTC, committed by Brad King on 24 February 2016, 17:29:50 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: dc422d271e4504ebab2176e841480861a17d13e1 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: dc422d2
File Mode Size
Doxygen
Git
GitSetup
KWIML
KWStyle
Release
Sphinx
cmbzip2
cmcompress
cmcurl
cmexpat
cmjsoncpp
cmlibarchive
cmliblzma
cmzlib
.NoDartCoverage -rw-r--r-- 39 bytes
.gitattributes -rw-r--r-- 76 bytes
CMakeLists.txt -rw-r--r-- 1.4 KB
SetupForDevelopment.sh -rwxr-xr-x 392 bytes
cmThirdParty.h.in -rw-r--r-- 1007 bytes
cm_bzlib.h -rw-r--r-- 786 bytes
cm_curl.h -rw-r--r-- 797 bytes
cm_expat.h -rw-r--r-- 786 bytes
cm_jsoncpp_reader.h -rw-r--r-- 830 bytes
cm_jsoncpp_value.h -rw-r--r-- 826 bytes
cm_jsoncpp_writer.h -rw-r--r-- 830 bytes
cm_libarchive.h -rw-r--r-- 898 bytes
cm_lzma.h -rw-r--r-- 787 bytes
cm_xmlrpc.h -rw-r--r-- 778 bytes
cm_zlib.h -rw-r--r-- 779 bytes

back to top