summaryrefslogtreecommitdiffstats
path: root/Source/cmVS11LinkFlagTable.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-09 14:07:18 (GMT)
committerBrad King <brad.king@kitware.com>2013-07-09 14:13:43 (GMT)
commitf2caf795febe5809500666360dbcb6fe9f59ac77 (patch)
tree2397a6df2fd237001c7630ccff1c8c36071e314f /Source/cmVS11LinkFlagTable.h
parent99a814e5b9a4f0bd497b8785b60257b232d54e79 (diff)
downloadCMake-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/cmVS11LinkFlagTable.h')
-rw-r--r--Source/cmVS11LinkFlagTable.h2
1 files changed, 1 insertions, 1 deletions
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