diff options
author | Brad King <brad.king@kitware.com> | 2013-07-15 13:34:00 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-07-15 13:34:00 (GMT) |
commit | d5d54b46299c65f0c5a80f973ad88a8dd30931c5 (patch) | |
tree | a8c7006327a29c60eda654054e64465102116bf0 /Source/cmNinjaTargetGenerator.cxx | |
parent | 7fa77b3fb3d811f2661f19e0985c6eb2c8021468 (diff) | |
parent | d7dd01083a99055d689c80fe28bbc79a11bf3da1 (diff) | |
download | CMake-d5d54b46299c65f0c5a80f973ad88a8dd30931c5.zip CMake-d5d54b46299c65f0c5a80f973ad88a8dd30931c5.tar.gz CMake-d5d54b46299c65f0c5a80f973ad88a8dd30931c5.tar.bz2 |
Merge topic 'compile-defs-debugging'
d7dd010 Add target property debugging for COMPILE_DEFINITIONS
1841215 Refactor cmTarget::GetCompileDefinitions to use an out-vector, not a string.
afc9243 Add an overload of cmIDEOptions::AddDefines taking a vector of strings.
d95651e Overload cmLocalGenerator::AppendDefines to add a list.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 2efc4bd..1179224 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -201,9 +201,8 @@ ComputeDefines(cmSourceFile *source, const std::string& language) } // Add preprocessor definitions for this target and configuration. - this->LocalGenerator->AppendDefines - (defines, - this->Target->GetCompileDefinitions(this->GetConfigName())); + this->LocalGenerator->AddCompileDefinitions(defines, this->Target, + this->GetConfigName()); this->LocalGenerator->AppendDefines (defines, source->GetProperty("COMPILE_DEFINITIONS")); |