Merge topic 'vs-inherit-wd'
f545eb0b
VS: Inherit target-level "-wd" flags in source files (#15284)
This commit is contained in:
commit
b61994d0a7
|
@ -1637,6 +1637,11 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
|
|||
clOptions.AppendFlag("AdditionalIncludeDirectories",
|
||||
"%(AdditionalIncludeDirectories)");
|
||||
}
|
||||
if(clOptions.HasFlag("DisableSpecificWarnings"))
|
||||
{
|
||||
clOptions.AppendFlag("DisableSpecificWarnings",
|
||||
"%(DisableSpecificWarnings)");
|
||||
}
|
||||
clOptions.AddDefines(configDefines.c_str());
|
||||
clOptions.SetConfiguration((*config).c_str());
|
||||
clOptions.OutputAdditionalOptions(*this->BuildFileStream, " ", "");
|
||||
|
|
Loading…
Reference in New Issue