summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-15 19:11:02 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-15 19:37:25 (GMT)
commit916d84450d2caa7cadc82662039602849cdb118d (patch)
tree61f404bf0735283ebf4168a3795c143b006638cd /Source/cmGlobalGenerator.h
parent7a2e114dd8ab55bc9ef9e1106ae352d2fea558d3 (diff)
downloadCMake-916d84450d2caa7cadc82662039602849cdb118d.zip
CMake-916d84450d2caa7cadc82662039602849cdb118d.tar.gz
CMake-916d84450d2caa7cadc82662039602849cdb118d.tar.bz2
cmGlobalGenerator: Split CreateDefaultGlobalTargets implementation
Divide this long method into multiple helpers each dedicated to one of the targets. This also avoids having to clear/re-use local structures.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 1e1479a..8254809 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -403,6 +403,12 @@ protected:
bool IsExcluded(cmLocalGenerator* root, cmGeneratorTarget* target) const;
virtual void InitializeProgressMarks() {}
void CreateDefaultGlobalTargets(cmTargets* targets);
+ void AddGlobalTarget_Package(cmTargets* targets);
+ void AddGlobalTarget_PackageSource(cmTargets* targets);
+ void AddGlobalTarget_Test(cmTargets* targets);
+ void AddGlobalTarget_EditCache(cmTargets* targets);
+ void AddGlobalTarget_RebuildCache(cmTargets* targets);
+ void AddGlobalTarget_Install(cmTargets* targets);
cmTarget CreateGlobalTarget(const std::string& name, const char* message,
const cmCustomCommandLines* commandLines,
std::vector<std::string> depends,