diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-26 02:40:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-29 19:11:49 (GMT) |
commit | 0e10782ba795050e1ea82530d79c323f60478df4 (patch) | |
tree | b6d8b92725537591b13f0f7a439008f5516178cf /Source/cmLocalVisualStudio6Generator.cxx | |
parent | 21fc6c46df7f2271d7baace04f239f031785b917 (diff) | |
download | CMake-0e10782ba795050e1ea82530d79c323f60478df4.zip CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.gz CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.bz2 |
Move GetCompileDefinitions to cmTarget.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 6c78ac4..617eb4e 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -1697,25 +1697,21 @@ void cmLocalVisualStudio6Generator std::set<std::string> minsizeDefinesSet; std::set<std::string> debugrelDefinesSet; - - cmGeneratorTarget* gt = - this->GlobalGenerator->GetGeneratorTarget(&target); - this->AppendDefines( definesSet, - gt->GetCompileDefinitions()); + target.GetCompileDefinitions()); this->AppendDefines( debugDefinesSet, - gt->GetCompileDefinitions("DEBUG")); + target.GetCompileDefinitions("DEBUG")); this->AppendDefines( releaseDefinesSet, - gt->GetCompileDefinitions("RELEASE")); + target.GetCompileDefinitions("RELEASE")); this->AppendDefines( minsizeDefinesSet, - gt->GetCompileDefinitions("MINSIZEREL")); + target.GetCompileDefinitions("MINSIZEREL")); this->AppendDefines( debugrelDefinesSet, - gt->GetCompileDefinitions("RELWITHDEBINFO")); + target.GetCompileDefinitions("RELWITHDEBINFO")); std::string defines = " "; std::string debugDefines = " "; |