summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-25 21:19:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-27 19:58:49 (GMT)
commit496f4cd07d20e91750ec920e05a4aef4e4bdc9ba (patch)
tree61ac013845aa592641661a2dca489e96b2ec2292 /Source/cmGlobalGenerator.h
parentde80993a2020e64259f12f608d11d1ace9a719a6 (diff)
downloadCMake-496f4cd07d20e91750ec920e05a4aef4e4bdc9ba.zip
CMake-496f4cd07d20e91750ec920e05a4aef4e4bdc9ba.tar.gz
CMake-496f4cd07d20e91750ec920e05a4aef4e4bdc9ba.tar.bz2
cmGlobalGenerator: Create cmGeneratorTargets before QtAutomoc.
Add cmGeneratorTargets as needed in the QtAutomoc processing.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 7d9bb4c..95b0ef1 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -300,6 +300,11 @@ public:
/** Get per-target generator information. */
cmGeneratorTarget* GetGeneratorTarget(cmTarget const*) const;
+ void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt)
+ {
+ this->GeneratorTargets[t] = gt;
+ }
+
const std::map<std::string, std::vector<cmLocalGenerator*> >& GetProjectMap()
const {return this->ProjectMap;}