diff options
author | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-26 17:18:10 (GMT) |
---|---|---|
committer | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-28 15:43:30 (GMT) |
commit | 8df25f9400bef5dd374f74725a72e818c2424f4e (patch) | |
tree | 5862725aa1f4e06fdde7eea140430616c8dc0c43 /Templates | |
parent | f1223e34c653e4ed6a5f86fe17ae72e7d7a89e9a (diff) | |
download | CMake-8df25f9400bef5dd374f74725a72e818c2424f4e.zip CMake-8df25f9400bef5dd374f74725a72e818c2424f4e.tar.gz CMake-8df25f9400bef5dd374f74725a72e818c2424f4e.tar.bz2 |
VS: connect /Y- compiler option with "Not Using Precompiled Headers"
Original header commit v3.10.0-rc1~423^2
The change allows to selectively disable PrecompiledHeaders.
Despite the `$(VCTargetsPath)/1033/cl.xml` contains an empty value for switch,
for effectively turn off setting need to use /Y- option as described on msdn:
https://msdn.microsoft.com/en-us/library/1hy7a92h.aspx
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/MSBuild/FlagTables/v10_CL.json | 2 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v11_CL.json | 2 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v12_CL.json | 2 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v140_CL.json | 2 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v141_CL.json | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/Templates/MSBuild/FlagTables/v10_CL.json b/Templates/MSBuild/FlagTables/v10_CL.json index 928e541..06158be 100644 --- a/Templates/MSBuild/FlagTables/v10_CL.json +++ b/Templates/MSBuild/FlagTables/v10_CL.json @@ -366,7 +366,7 @@ }, { "name": "PrecompiledHeader", - "switch": "", + "switch": "Y-", "comment": "Not Using Precompiled Headers", "value": "NotUsing", "flags": [] diff --git a/Templates/MSBuild/FlagTables/v11_CL.json b/Templates/MSBuild/FlagTables/v11_CL.json index ffbf274..b47ab2e 100644 --- a/Templates/MSBuild/FlagTables/v11_CL.json +++ b/Templates/MSBuild/FlagTables/v11_CL.json @@ -387,7 +387,7 @@ }, { "name": "PrecompiledHeader", - "switch": "", + "switch": "Y-", "comment": "Not Using Precompiled Headers", "value": "NotUsing", "flags": [] diff --git a/Templates/MSBuild/FlagTables/v12_CL.json b/Templates/MSBuild/FlagTables/v12_CL.json index 72618e2..771a555 100644 --- a/Templates/MSBuild/FlagTables/v12_CL.json +++ b/Templates/MSBuild/FlagTables/v12_CL.json @@ -415,7 +415,7 @@ }, { "name": "PrecompiledHeader", - "switch": "", + "switch": "Y-", "comment": "Not Using Precompiled Headers", "value": "NotUsing", "flags": [] diff --git a/Templates/MSBuild/FlagTables/v140_CL.json b/Templates/MSBuild/FlagTables/v140_CL.json index 853df07..3dc9f35 100644 --- a/Templates/MSBuild/FlagTables/v140_CL.json +++ b/Templates/MSBuild/FlagTables/v140_CL.json @@ -422,7 +422,7 @@ }, { "name": "PrecompiledHeader", - "switch": "", + "switch": "Y-", "comment": "Not Using Precompiled Headers", "value": "NotUsing", "flags": [] diff --git a/Templates/MSBuild/FlagTables/v141_CL.json b/Templates/MSBuild/FlagTables/v141_CL.json index 124e45d..7493ed8 100644 --- a/Templates/MSBuild/FlagTables/v141_CL.json +++ b/Templates/MSBuild/FlagTables/v141_CL.json @@ -478,7 +478,7 @@ }, { "name": "PrecompiledHeader", - "switch": "", + "switch": "Y-", "comment": "Not Using Precompiled Headers", "value": "NotUsing", "flags": [] |