summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-12 22:03:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:29:07 (GMT)
commit14bf7783f4de829f62041d1dbf3989160820b2b7 (patch)
treeb0ee83b947e21c3ae73efaac965668c3e686dc96 /Source/cmMakefile.h
parentf428ca25f5f983cb57eb009a330c09506ee81587 (diff)
downloadCMake-14bf7783f4de829f62041d1dbf3989160820b2b7.zip
CMake-14bf7783f4de829f62041d1dbf3989160820b2b7.tar.gz
CMake-14bf7783f4de829f62041d1dbf3989160820b2b7.tar.bz2
Store cmGeneratorTargets with the makefile.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 74c8039..4e79cea 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -20,6 +20,7 @@
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmNewLineStyle.h"
+#include "cmGeneratorTarget.h"
#include "cmake.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
@@ -519,6 +520,16 @@ public:
*/
const cmTargets &GetTargets() const { return this->Targets; }
+ const cmGeneratorTargetsType &GetGeneratorTargets() const
+ {
+ return this->GeneratorTargets;
+ }
+
+ void SetGeneratorTargets(const cmGeneratorTargetsType &targets)
+ {
+ this->GeneratorTargets = targets;
+ }
+
cmTarget* FindTarget(const char* name);
/** Find a target to use in place of the given name. The target
@@ -865,6 +876,7 @@ protected:
// libraries, classes, and executables
cmTargets Targets;
+ cmGeneratorTargetsType GeneratorTargets;
std::vector<cmSourceFile*> SourceFiles;
// Tests