mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
@@ -2620,6 +2620,10 @@ bool cmVisualStudio10TargetGenerator::ComputeClOptions(
|
||||
}
|
||||
clOptions.AddDefines(targetDefines);
|
||||
|
||||
if (this->ProjectType == csproj) {
|
||||
clOptions.AppendFlag("DefineConstants", targetDefines);
|
||||
}
|
||||
|
||||
// Get includes for this target
|
||||
if (!this->LangForClCompile.empty()) {
|
||||
clOptions.AddIncludes(
|
||||
|
||||
Reference in New Issue
Block a user