diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 22:00:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-26 17:46:30 (GMT) |
commit | a7f5d70dde50ac74726f3c23d276d2fdac70d659 (patch) | |
tree | e86e669efe22d739a037f2d7a2cf56ef295456b0 /Source/cmExtraCodeBlocksGenerator.cxx | |
parent | d051086ccec5cd4b381cf47afb0e7fe962ed4c0b (diff) | |
download | CMake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.zip CMake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.gz CMake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.bz2 |
cmGeneratorTarget: Move compile defintions processing from cmTarget.
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeBlocksGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index 933a256..dfd51c7 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -609,7 +609,7 @@ void cmExtraCodeBlocksGenerator::AppendTarget(cmGeneratedFileStream& fout, // the compilerdefines for this target std::vector<std::string> cdefs; - target->GetCompileDefinitions(cdefs, buildType, "C"); + gtgt->GetCompileDefinitions(cdefs, buildType, "C"); // Expand the list. for(std::vector<std::string>::const_iterator di = cdefs.begin(); |