summaryrefslogtreecommitdiff
path: root/Source/cmVS12LinkFlagTable.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-09 10:07:18 -0400
committerBrad King <brad.king@kitware.com>2013-07-09 10:13:43 -0400
commitf2caf795febe5809500666360dbcb6fe9f59ac77 (patch)
tree2397a6df2fd237001c7630ccff1c8c36071e314f /Source/cmVS12LinkFlagTable.h
parent99a814e5b9a4f0bd497b8785b60257b232d54e79 (diff)
downloadcmake-f2caf795febe5809500666360dbcb6fe9f59ac77.tar.gz
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/cmVS12LinkFlagTable.h')
-rw-r--r--Source/cmVS12LinkFlagTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVS12LinkFlagTable.h b/Source/cmVS12LinkFlagTable.h
index ce32e3815a..73d450a9de 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