summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-03-26 13:52:19 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2011-10-02 17:30:42 (GMT)
commit8a0eb78f3b49b1f999f4b0c0d5d23f4589b465f7 (patch)
tree1d73d615e27d684a252fdc76cccc0b02cb435eaa /Source/cmGlobalUnixMakefileGenerator3.h
parent4532d36cc948228ca5e1ed072b7907a84a78c0e7 (diff)
downloadCMake-8a0eb78f3b49b1f999f4b0c0d5d23f4589b465f7.zip
CMake-8a0eb78f3b49b1f999f4b0c0d5d23f4589b465f7.tar.gz
CMake-8a0eb78f3b49b1f999f4b0c0d5d23f4589b465f7.tar.bz2
Constify many getters of cmGlobalGenerator.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index d21d5b9..7c6bbc2 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -137,17 +137,17 @@ protected:
bool NeedRequiresStep(cmTarget const&);
// Setup target names
- virtual const char* GetAllTargetName() { return "all"; }
- virtual const char* GetInstallTargetName() { return "install"; }
- virtual const char* GetInstallLocalTargetName() { return "install/local"; }
- virtual const char* GetInstallStripTargetName() { return "install/strip"; }
- virtual const char* GetPreinstallTargetName() { return "preinstall"; }
- virtual const char* GetTestTargetName() { return "test"; }
- virtual const char* GetPackageTargetName() { return "package"; }
- virtual const char* GetPackageSourceTargetName(){ return "package_source"; }
- virtual const char* GetEditCacheTargetName() { return "edit_cache"; }
- virtual const char* GetRebuildCacheTargetName() { return "rebuild_cache"; }
- virtual const char* GetCleanTargetName() { return "clean"; }
+ virtual const char* GetAllTargetName() const { return "all"; }
+ virtual const char* GetInstallTargetName() const { return "install"; }
+ virtual const char* GetInstallLocalTargetName() const { return "install/local"; }
+ virtual const char* GetInstallStripTargetName() const { return "install/strip"; }
+ virtual const char* GetPreinstallTargetName() const { return "preinstall"; }
+ virtual const char* GetTestTargetName() const { return "test"; }
+ virtual const char* GetPackageTargetName() const { return "package"; }
+ virtual const char* GetPackageSourceTargetName() const { return "package_source"; }
+ virtual const char* GetEditCacheTargetName() const { return "edit_cache"; }
+ virtual const char* GetRebuildCacheTargetName() const { return "rebuild_cache"; }
+ virtual const char* GetCleanTargetName() const { return "clean"; }
virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() { return true; }