mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05: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