diff options
author | Brad King <brad.king@kitware.com> | 2016-01-08 19:38:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-11 14:45:00 (GMT) |
commit | b3677b35d320cce5d23831ec398d6bb283d1444e (patch) | |
tree | 7862fed73d4bfcacdbe368f1973a158b50d5742f /Source/cmVS12LinkFlagTable.h | |
parent | c22da7cff74a293d6362598c2a381147d658022f (diff) | |
download | CMake-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/cmVS12LinkFlagTable.h')
-rw-r--r-- | Source/cmVS12LinkFlagTable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVS12LinkFlagTable.h b/Source/cmVS12LinkFlagTable.h index e5a570e..0be5e34 100644 --- a/Source/cmVS12LinkFlagTable.h +++ b/Source/cmVS12LinkFlagTable.h @@ -177,7 +177,8 @@ static cmVS7FlagTable cmVS12LinkFlagTable[] = {"UACUIAccess", "uiAccess='false'", "", "false", 0}, {"UACUIAccess", "uiAccess='true'", "", "true", 0}, {"ManifestEmbed", "manifest:embed", "", "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}, |