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
This commit is contained in:
Stephan Szabo 2018-11-26 09:18:10 -08:00
parent f1223e34c6
commit 8df25f9400
5 changed files with 5 additions and 5 deletions

View File

@ -366,7 +366,7 @@
},
{
"name": "PrecompiledHeader",
"switch": "",
"switch": "Y-",
"comment": "Not Using Precompiled Headers",
"value": "NotUsing",
"flags": []

View File

@ -387,7 +387,7 @@
},
{
"name": "PrecompiledHeader",
"switch": "",
"switch": "Y-",
"comment": "Not Using Precompiled Headers",
"value": "NotUsing",
"flags": []

View File

@ -415,7 +415,7 @@
},
{
"name": "PrecompiledHeader",
"switch": "",
"switch": "Y-",
"comment": "Not Using Precompiled Headers",
"value": "NotUsing",
"flags": []

View File

@ -422,7 +422,7 @@
},
{
"name": "PrecompiledHeader",
"switch": "",
"switch": "Y-",
"comment": "Not Using Precompiled Headers",
"value": "NotUsing",
"flags": []

View File

@ -478,7 +478,7 @@
},
{
"name": "PrecompiledHeader",
"switch": "",
"switch": "Y-",
"comment": "Not Using Precompiled Headers",
"value": "NotUsing",
"flags": []