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/cmTarget.h | |
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/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index aae558e..34a75ea 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -132,8 +132,6 @@ public: void AddPostBuildCommand(cmCustomCommand const &cmd) {this->PostBuildCommands.push_back(cmd);} - void Compute(); - /** * Get the list of the source files used by this target */ @@ -309,10 +307,6 @@ public: If no macro should be defined null is returned. */ const char* GetExportMacro() const; - void GetCompileDefinitions(std::vector<std::string> &result, - const std::string& config, - const std::string& language) const; - // Compute the set of languages compiled by the target. This is // computed every time it is called because the languages can change // when source file properties are changed and we do not have enough @@ -402,6 +396,9 @@ public: cmStringRange GetCompileFeaturesEntries() const; cmBacktraceRange GetCompileFeaturesBacktraces() const; + cmStringRange GetCompileDefinitionsEntries() const; + cmBacktraceRange GetCompileDefinitionsBacktraces() const; + #if defined(_WIN32) && !defined(__CYGWIN__) const LinkLibraryVectorType &GetLinkLibrariesForVS6() const { return this->LinkLibrariesForVS6;} @@ -516,7 +513,6 @@ private: bool IsApple; bool IsImportedTarget; bool BuildInterfaceIncludesAppended; - mutable bool DebugCompileDefinitionsDone; mutable bool DebugSourcesDone; mutable bool LinkImplementationLanguageIsContextDependent; #if defined(_WIN32) && !defined(__CYGWIN__) |