summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-25 23:19:36 +0200
committerStephen Kelly <steveire@gmail.com>2015-07-27 21:58:49 +0200
commit496f4cd07d20e91750ec920e05a4aef4e4bdc9ba (patch)
tree61ac013845aa592641661a2dca489e96b2ec2292 /Source/cmMakefile.h
parentde80993a2020e64259f12f608d11d1ace9a719a6 (diff)
downloadcmake-496f4cd07d20e91750ec920e05a4aef4e4bdc9ba.tar.gz
cmGlobalGenerator: Create cmGeneratorTargets before QtAutomoc.
Add cmGeneratorTargets as needed in the QtAutomoc processing.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 2fc4d78a8a..f5cd74d0c4 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -415,6 +415,10 @@ public:
{
this->GeneratorTargets = targets;
}
+ void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt)
+ {
+ this->GeneratorTargets[t] = gt;
+ }
cmTarget* FindTarget(const std::string& name,
bool excludeAliases = false) const;