summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 22:00:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:46:30 (GMT)
commita7f5d70dde50ac74726f3c23d276d2fdac70d659 (patch)
treee86e669efe22d739a037f2d7a2cf56ef295456b0 /Source/cmGeneratorTarget.h
parentd051086ccec5cd4b381cf47afb0e7fe962ed4c0b (diff)
downloadCMake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.zip
CMake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.gz
CMake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.bz2
cmGeneratorTarget: Move compile defintions processing from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 7e718af..557eb17 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -224,6 +224,10 @@ public:
void GetCompileFeatures(std::vector<std::string> &features,
const std::string& config) const;
+ void GetCompileDefinitions(std::vector<std::string> &result,
+ const std::string& config,
+ const std::string& language) const;
+
bool IsSystemIncludeDirectory(const std::string& dir,
const std::string& config) const;
@@ -416,6 +420,7 @@ private:
std::vector<TargetPropertyEntry*> IncludeDirectoriesEntries;
std::vector<TargetPropertyEntry*> CompileOptionsEntries;
std::vector<TargetPropertyEntry*> CompileFeaturesEntries;
+ std::vector<TargetPropertyEntry*> CompileDefinitionsEntries;
void ExpandLinkItems(std::string const& prop, std::string const& value,
std::string const& config, cmTarget const* headTarget,
@@ -432,6 +437,7 @@ private:
mutable bool DebugIncludesDone;
mutable bool DebugCompileOptionsDone;
mutable bool DebugCompileFeaturesDone;
+ mutable bool DebugCompileDefinitionsDone;
public:
std::vector<cmTarget const*> const&