summaryrefslogtreecommitdiff
path: root/Templates/MSBuild/FlagTables/v141_CL.json
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/MSBuild/FlagTables/v141_CL.json
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/MSBuild/FlagTables/v141_CL.json')
-rw-r--r--Templates/MSBuild/FlagTables/v141_CL.json2
1 files changed, 1 insertions, 1 deletions
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": []