mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
VS: connect /Y- compiler option with "Not Using Precompiled Headers"
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:
parent
db96ebaa7b
commit
d1713d8bc5
@ -70,7 +70,8 @@ static cmVS7FlagTable cmVS10CLFlagTable[] = {
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "Yu", "Use", "Use",
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "", "Not Using Precompiled Headers", "NotUsing", 0 },
|
||||
{ "PrecompiledHeader", "Y-", "Not Using Precompiled Headers", "NotUsing",
|
||||
0 },
|
||||
|
||||
{ "AssemblerOutput", "", "No Listing", "NoListing", 0 },
|
||||
{ "AssemblerOutput", "FA", "Assembly-Only Listing", "AssemblyCode", 0 },
|
||||
|
@ -74,7 +74,8 @@ static cmVS7FlagTable cmVS11CLFlagTable[] = {
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "Yu", "Use", "Use",
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "", "Not Using Precompiled Headers", "NotUsing", 0 },
|
||||
{ "PrecompiledHeader", "Y-", "Not Using Precompiled Headers", "NotUsing",
|
||||
0 },
|
||||
|
||||
{ "AssemblerOutput", "", "No Listing", "NoListing", 0 },
|
||||
{ "AssemblerOutput", "FA", "Assembly-Only Listing", "AssemblyCode", 0 },
|
||||
|
@ -78,7 +78,8 @@ static cmVS7FlagTable cmVS12CLFlagTable[] = {
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "Yu", "Use", "Use",
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "", "Not Using Precompiled Headers", "NotUsing", 0 },
|
||||
{ "PrecompiledHeader", "Y-", "Not Using Precompiled Headers", "NotUsing",
|
||||
0 },
|
||||
|
||||
{ "AssemblerOutput", "", "No Listing", "NoListing", 0 },
|
||||
{ "AssemblerOutput", "FA", "Assembly-Only Listing", "AssemblyCode", 0 },
|
||||
|
@ -80,7 +80,8 @@ static cmVS7FlagTable cmVS140CLFlagTable[] = {
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "Yu", "Use", "Use",
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "", "Not Using Precompiled Headers", "NotUsing", 0 },
|
||||
{ "PrecompiledHeader", "Y-", "Not Using Precompiled Headers", "NotUsing",
|
||||
0 },
|
||||
|
||||
{ "AssemblerOutput", "", "No Listing", "NoListing", 0 },
|
||||
{ "AssemblerOutput", "FA", "Assembly-Only Listing", "AssemblyCode", 0 },
|
||||
|
@ -87,7 +87,8 @@ static cmVS7FlagTable cmVS141CLFlagTable[] = {
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "Yu", "Use", "Use",
|
||||
cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },
|
||||
{ "PrecompiledHeader", "", "Not Using Precompiled Headers", "NotUsing", 0 },
|
||||
{ "PrecompiledHeader", "Y-", "Not Using Precompiled Headers", "NotUsing",
|
||||
0 },
|
||||
|
||||
{ "AssemblerOutput", "", "No Listing", "NoListing", 0 },
|
||||
{ "AssemblerOutput", "FA", "Assembly-Only Listing", "AssemblyCode", 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user