VS: Fix MANIFESTUAC link flag map to .vcxproj elements

Add special parsing of the flags given in `/MANIFESTUAC:"..."` in order
to map them correctly to `.vcxproj` elements.

Keep the old incorrect flag table entries for `uiAccess` and `level`
flags for compatibility even though they do not really exist.

Fixes: #16563
This commit is contained in:
comicfans
2017-09-10 17:39:04 +08:00
committed by Brad King
parent e18ab9c4b2
commit 3232f84c19
8 changed files with 111 additions and 25 deletions
@@ -3261,6 +3261,7 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
}
linkOptions.Parse(flags.c_str());
linkOptions.FixManifestUACFlags();
if (this->MSTools) {
cmGeneratorTarget::ModuleDefinitionInfo const* mdi =