summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2018-11-26 09:18:10 -0800
committerStephan Szabo <stephan.szabo@sony.com>2018-11-28 07:43:30 -0800
commit8df25f9400bef5dd374f74725a72e818c2424f4e (patch)
tree5862725aa1f4e06fdde7eea140430616c8dc0c43 /Templates
parentf1223e34c653e4ed6a5f86fe17ae72e7d7a89e9a (diff)
downloadcmake-8df25f9400bef5dd374f74725a72e818c2424f4e.tar.gz
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.json2
-rw-r--r--Templates/MSBuild/FlagTables/v11_CL.json2
-rw-r--r--Templates/MSBuild/FlagTables/v12_CL.json2
-rw-r--r--Templates/MSBuild/FlagTables/v140_CL.json2
-rw-r--r--Templates/MSBuild/FlagTables/v141_CL.json2
5 files changed, 5 insertions, 5 deletions
diff --git a/Templates/MSBuild/FlagTables/v10_CL.json b/Templates/MSBuild/FlagTables/v10_CL.json
index 928e541ab1..06158bee76 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 ffbf274d27..b47ab2e983 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 72618e2975..771a5551cd 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 853df07334..3dc9f353d3 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 124e45d3ce..7493ed877b 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": []