summaryrefslogtreecommitdiffstats
path: root/Source/cmVS10LinkFlagTable.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-08 19:38:58 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-11 14:45:00 (GMT)
commitb3677b35d320cce5d23831ec398d6bb283d1444e (patch)
tree7862fed73d4bfcacdbe368f1973a158b50d5742f /Source/cmVS10LinkFlagTable.h
parentc22da7cff74a293d6362598c2a381147d658022f (diff)
downloadCMake-b3677b35d320cce5d23831ec398d6bb283d1444e.zip
CMake-b3677b35d320cce5d23831ec398d6bb283d1444e.tar.gz
CMake-b3677b35d320cce5d23831ec398d6bb283d1444e.tar.bz2
VS: Map the link `/debug` to its IDE property
Fix the link flag table entries for this flag to be case-insensitive. Also fix the VS 2015 value for the build property enumeration name. This causes `linkOptions.Parse(...)` to correctly extract the `/debug` flag and map it to the IDE property instead. Therefore we do not need to look for the flag explicitly when initializing the property.
Diffstat (limited to 'Source/cmVS10LinkFlagTable.h')
-rw-r--r--Source/cmVS10LinkFlagTable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVS10LinkFlagTable.h b/Source/cmVS10LinkFlagTable.h
index f6b758d..dd92329 100644
--- a/Source/cmVS10LinkFlagTable.h
+++ b/Source/cmVS10LinkFlagTable.h
@@ -155,7 +155,8 @@ static cmVS7FlagTable cmVS10LinkFlagTable[] =
{"AllowIsolation", "ALLOWISOLATION:NO", "", "false", 0},
{"UACUIAccess", "uiAccess='false'", "", "false", 0},
{"UACUIAccess", "uiAccess='true'", "", "true", 0},
- {"GenerateDebugInformation", "DEBUG", "", "true", 0},
+ {"GenerateDebugInformation", "DEBUG", "", "true",
+ cmVS7FlagTable::CaseInsensitive},
{"MapExports", "MAPINFO:EXPORTS", "", "true", 0},
{"AssemblyDebug", "ASSEMBLYDEBUG:DISABLE", "", "false", 0},
{"AssemblyDebug", "ASSEMBLYDEBUG", "", "true", 0},