diff options
author | Brad King <brad.king@kitware.com> | 2013-07-09 14:07:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-09 14:13:43 (GMT) |
commit | f2caf795febe5809500666360dbcb6fe9f59ac77 (patch) | |
tree | 2397a6df2fd237001c7630ccff1c8c36071e314f /Source | |
parent | 99a814e5b9a4f0bd497b8785b60257b232d54e79 (diff) | |
download | CMake-f2caf795febe5809500666360dbcb6fe9f59ac77.zip CMake-f2caf795febe5809500666360dbcb6fe9f59ac77.tar.gz CMake-f2caf795febe5809500666360dbcb6fe9f59ac77.tar.bz2 |
VS: Fix /MAP:mapfile flag mapping (#14282)
We have two mappings for the "/MAP" flag. The first does not care
whether there is a value and activates the GenerateMapFile boolean
setting. The second takes a value and puts it in the MapFileName
setting. The latter must treat the ":" as part of the flag.
This is similar to commit 8ae66bf4 (Fix optionally-valued booleans in VS
10 flag table, 2009-10-23).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVS10LinkFlagTable.h | 2 | ||||
-rw-r--r-- | Source/cmVS11LinkFlagTable.h | 2 | ||||
-rw-r--r-- | Source/cmVS12LinkFlagTable.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmVS10LinkFlagTable.h b/Source/cmVS10LinkFlagTable.h index 64febbb..5d15620 100644 --- a/Source/cmVS10LinkFlagTable.h +++ b/Source/cmVS10LinkFlagTable.h @@ -201,7 +201,7 @@ static cmVS7FlagTable cmVS10LinkFlagTable[] = cmVS7FlagTable::UserValueRequired}, {"GenerateMapFile", "MAP", "", "true", cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue}, - {"MapFileName", "MAP", "Generate Map File", "", + {"MapFileName", "MAP:", "Generate Map File", "", cmVS7FlagTable::UserValueRequired}, //String List Properties diff --git a/Source/cmVS11LinkFlagTable.h b/Source/cmVS11LinkFlagTable.h index ea0d0f0..b4587a8 100644 --- a/Source/cmVS11LinkFlagTable.h +++ b/Source/cmVS11LinkFlagTable.h @@ -227,7 +227,7 @@ static cmVS7FlagTable cmVS11LinkFlagTable[] = cmVS7FlagTable::UserValueRequired}, {"GenerateMapFile", "MAP", "", "true", cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue}, - {"MapFileName", "MAP", "Generate Map File", "", + {"MapFileName", "MAP:", "Generate Map File", "", cmVS7FlagTable::UserValueRequired}, //String List Properties diff --git a/Source/cmVS12LinkFlagTable.h b/Source/cmVS12LinkFlagTable.h index ce32e38..73d450a 100644 --- a/Source/cmVS12LinkFlagTable.h +++ b/Source/cmVS12LinkFlagTable.h @@ -227,7 +227,7 @@ static cmVS7FlagTable cmVS12LinkFlagTable[] = cmVS7FlagTable::UserValueRequired}, {"GenerateMapFile", "MAP", "", "true", cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue}, - {"MapFileName", "MAP", "Generate Map File", "", + {"MapFileName", "MAP:", "Generate Map File", "", cmVS7FlagTable::UserValueRequired}, //String List Properties |