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).
This commit is contained in:
parent
99a814e5b9
commit
f2caf795fe
|
@ -201,7 +201,7 @@ static cmVS7FlagTable cmVS10LinkFlagTable[] =
|
||||||
cmVS7FlagTable::UserValueRequired},
|
cmVS7FlagTable::UserValueRequired},
|
||||||
{"GenerateMapFile", "MAP", "", "true",
|
{"GenerateMapFile", "MAP", "", "true",
|
||||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
|
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
|
||||||
{"MapFileName", "MAP", "Generate Map File", "",
|
{"MapFileName", "MAP:", "Generate Map File", "",
|
||||||
cmVS7FlagTable::UserValueRequired},
|
cmVS7FlagTable::UserValueRequired},
|
||||||
|
|
||||||
//String List Properties
|
//String List Properties
|
||||||
|
|
|
@ -227,7 +227,7 @@ static cmVS7FlagTable cmVS11LinkFlagTable[] =
|
||||||
cmVS7FlagTable::UserValueRequired},
|
cmVS7FlagTable::UserValueRequired},
|
||||||
{"GenerateMapFile", "MAP", "", "true",
|
{"GenerateMapFile", "MAP", "", "true",
|
||||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
|
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
|
||||||
{"MapFileName", "MAP", "Generate Map File", "",
|
{"MapFileName", "MAP:", "Generate Map File", "",
|
||||||
cmVS7FlagTable::UserValueRequired},
|
cmVS7FlagTable::UserValueRequired},
|
||||||
|
|
||||||
//String List Properties
|
//String List Properties
|
||||||
|
|
|
@ -227,7 +227,7 @@ static cmVS7FlagTable cmVS12LinkFlagTable[] =
|
||||||
cmVS7FlagTable::UserValueRequired},
|
cmVS7FlagTable::UserValueRequired},
|
||||||
{"GenerateMapFile", "MAP", "", "true",
|
{"GenerateMapFile", "MAP", "", "true",
|
||||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
|
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
|
||||||
{"MapFileName", "MAP", "Generate Map File", "",
|
{"MapFileName", "MAP:", "Generate Map File", "",
|
||||||
cmVS7FlagTable::UserValueRequired},
|
cmVS7FlagTable::UserValueRequired},
|
||||||
|
|
||||||
//String List Properties
|
//String List Properties
|
||||||
|
|
Loading…
Reference in New Issue