summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-12 08:12:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-12 14:57:36 (GMT)
commitd7dd01083a99055d689c80fe28bbc79a11bf3da1 (patch)
tree9da31f8cdfcd313524513b73e2e585684ff4eaa4 /Source/cmMakefile.h
parent184121538c2576b2113c0e256ecb0cd9ac354134 (diff)
downloadCMake-d7dd01083a99055d689c80fe28bbc79a11bf3da1.zip
CMake-d7dd01083a99055d689c80fe28bbc79a11bf3da1.tar.gz
CMake-d7dd01083a99055d689c80fe28bbc79a11bf3da1.tar.bz2
Add target property debugging for COMPILE_DEFINITIONS
Use constructs similar to those for COMPILE_OPTIONS. This is a little different because there is a command to remove_definitions(), so we can't populate the equivalent target property until generate-time in cmGlobalGenerator.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 4297155..1b10773 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -871,6 +871,10 @@ public:
{
return this->CompileOptionsEntries;
}
+ std::vector<cmValueWithOrigin> GetCompileDefinitionsEntries() const
+ {
+ return this->CompileDefinitionsEntries;
+ }
bool IsGeneratingBuildSystem(){ return this->GeneratingBuildSystem; }
void SetGeneratingBuildSystem(){ this->GeneratingBuildSystem = true; }
@@ -925,6 +929,7 @@ protected:
std::vector<cmValueWithOrigin> IncludeDirectoriesEntries;
std::vector<cmValueWithOrigin> CompileOptionsEntries;
+ std::vector<cmValueWithOrigin> CompileDefinitionsEntries;
// Track the value of the computed DEFINITIONS property.
void AddDefineFlag(const char*, std::string&);