diff options
author | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-21 21:32:54 (GMT) |
---|---|---|
committer | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-28 15:43:29 (GMT) |
commit | 454b47ba0bd16a98b15896c732f9a4b91863b581 (patch) | |
tree | 5a12ba100c748ca7bf4edcff807163146159d49b /Templates | |
parent | 57a78b55260616053ae0f733d2cecfffc9e7455f (diff) | |
download | CMake-454b47ba0bd16a98b15896c732f9a4b91863b581.zip CMake-454b47ba0bd16a98b15896c732f9a4b91863b581.tar.gz CMake-454b47ba0bd16a98b15896c732f9a4b91863b581.tar.bz2 |
VS: Fix MANIFESTUAC link flag map to .vcxproj elements
Original header commit v3.10.0-rc1~97^2
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
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/MSBuild/FlagTables/v10_Link.json | 25 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v11_Link.json | 25 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v12_Link.json | 25 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v140_Link.json | 25 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v141_Link.json | 25 |
5 files changed, 20 insertions, 105 deletions
diff --git a/Templates/MSBuild/FlagTables/v10_Link.json b/Templates/MSBuild/FlagTables/v10_Link.json index 27003f8..ac5b8b1 100644 --- a/Templates/MSBuild/FlagTables/v10_Link.json +++ b/Templates/MSBuild/FlagTables/v10_Link.json @@ -533,20 +533,13 @@ }, { "name": "EnableUAC", - "switch": "MANIFESTUAC:NO", - "comment": "Enable User Account Control (UAC)", - "value": "false", - "flags": [] - }, - { - "name": "EnableUAC", "switch": "MANIFESTUAC:", - "comment": "Enable User Account Control (UAC)", - "value": "true", + "comment": "", + "value": "", "flags": [ "UserValue", - "UserIgnored", - "Continue" + "UserRequired", + "SpaceAppendable" ] }, { @@ -561,16 +554,6 @@ }, { "name": "UACUIAccess", - "switch": "MANIFESTUAC:", - "comment": "UAC Bypass UI Protection", - "value": "true", - "flags": [ - "UserValue", - "UserRequired" - ] - }, - { - "name": "UACUIAccess", "switch": "uiAccess='false'", "comment": "UAC Bypass UI Protection", "value": "false", diff --git a/Templates/MSBuild/FlagTables/v11_Link.json b/Templates/MSBuild/FlagTables/v11_Link.json index 75b9b19..5d5c13f 100644 --- a/Templates/MSBuild/FlagTables/v11_Link.json +++ b/Templates/MSBuild/FlagTables/v11_Link.json @@ -596,20 +596,13 @@ }, { "name": "EnableUAC", - "switch": "MANIFESTUAC:NO", - "comment": "Enable User Account Control (UAC)", - "value": "false", - "flags": [] - }, - { - "name": "EnableUAC", "switch": "MANIFESTUAC:", - "comment": "Enable User Account Control (UAC)", - "value": "true", + "comment": "", + "value": "", "flags": [ "UserValue", - "UserIgnored", - "Continue" + "UserRequired", + "SpaceAppendable" ] }, { @@ -624,16 +617,6 @@ }, { "name": "UACUIAccess", - "switch": "MANIFESTUAC:", - "comment": "UAC Bypass UI Protection", - "value": "true", - "flags": [ - "UserValue", - "UserRequired" - ] - }, - { - "name": "UACUIAccess", "switch": "uiAccess='false'", "comment": "UAC Bypass UI Protection", "value": "false", diff --git a/Templates/MSBuild/FlagTables/v12_Link.json b/Templates/MSBuild/FlagTables/v12_Link.json index 75b9b19..5d5c13f 100644 --- a/Templates/MSBuild/FlagTables/v12_Link.json +++ b/Templates/MSBuild/FlagTables/v12_Link.json @@ -596,20 +596,13 @@ }, { "name": "EnableUAC", - "switch": "MANIFESTUAC:NO", - "comment": "Enable User Account Control (UAC)", - "value": "false", - "flags": [] - }, - { - "name": "EnableUAC", "switch": "MANIFESTUAC:", - "comment": "Enable User Account Control (UAC)", - "value": "true", + "comment": "", + "value": "", "flags": [ "UserValue", - "UserIgnored", - "Continue" + "UserRequired", + "SpaceAppendable" ] }, { @@ -624,16 +617,6 @@ }, { "name": "UACUIAccess", - "switch": "MANIFESTUAC:", - "comment": "UAC Bypass UI Protection", - "value": "true", - "flags": [ - "UserValue", - "UserRequired" - ] - }, - { - "name": "UACUIAccess", "switch": "uiAccess='false'", "comment": "UAC Bypass UI Protection", "value": "false", diff --git a/Templates/MSBuild/FlagTables/v140_Link.json b/Templates/MSBuild/FlagTables/v140_Link.json index c2a18ef..3fb072c 100644 --- a/Templates/MSBuild/FlagTables/v140_Link.json +++ b/Templates/MSBuild/FlagTables/v140_Link.json @@ -639,20 +639,13 @@ }, { "name": "EnableUAC", - "switch": "MANIFESTUAC:NO", - "comment": "Enable User Account Control (UAC)", - "value": "false", - "flags": [] - }, - { - "name": "EnableUAC", "switch": "MANIFESTUAC:", - "comment": "Enable User Account Control (UAC)", - "value": "true", + "comment": "", + "value": "", "flags": [ "UserValue", - "UserIgnored", - "Continue" + "UserRequired", + "SpaceAppendable" ] }, { @@ -667,16 +660,6 @@ }, { "name": "UACUIAccess", - "switch": "MANIFESTUAC:", - "comment": "UAC Bypass UI Protection", - "value": "true", - "flags": [ - "UserValue", - "UserRequired" - ] - }, - { - "name": "UACUIAccess", "switch": "uiAccess='false'", "comment": "UAC Bypass UI Protection", "value": "false", diff --git a/Templates/MSBuild/FlagTables/v141_Link.json b/Templates/MSBuild/FlagTables/v141_Link.json index d5144c8..66ee76f 100644 --- a/Templates/MSBuild/FlagTables/v141_Link.json +++ b/Templates/MSBuild/FlagTables/v141_Link.json @@ -646,20 +646,13 @@ }, { "name": "EnableUAC", - "switch": "MANIFESTUAC:NO", - "comment": "Enable User Account Control (UAC)", - "value": "false", - "flags": [] - }, - { - "name": "EnableUAC", "switch": "MANIFESTUAC:", - "comment": "Enable User Account Control (UAC)", - "value": "true", + "comment": "", + "value": "", "flags": [ "UserValue", - "UserIgnored", - "Continue" + "UserRequired", + "SpaceAppendable" ] }, { @@ -674,16 +667,6 @@ }, { "name": "UACUIAccess", - "switch": "MANIFESTUAC:", - "comment": "UAC Bypass UI Protection", - "value": "true", - "flags": [ - "UserValue", - "UserRequired" - ] - }, - { - "name": "UACUIAccess", "switch": "uiAccess='false'", "comment": "UAC Bypass UI Protection", "value": "false", |