summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-10 17:44:39 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-10 17:44:39 (GMT)
commitbad1215a853a24f9e8145f6157be9e27c0b83cd0 (patch)
tree4164a0426efbe7967fcd865174c09bb243e530ac /Source/cmGlobalGenerator.h
parente4f3568099830233e0620c8824bb0a07376cd5a5 (diff)
downloadCMake-bad1215a853a24f9e8145f6157be9e27c0b83cd0.zip
CMake-bad1215a853a24f9e8145f6157be9e27c0b83cd0.tar.gz
CMake-bad1215a853a24f9e8145f6157be9e27c0b83cd0.tar.bz2
ENH: Add support for preinstall for cmake generated projects when packaging them
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 3911d9e..bd21de0 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -175,6 +175,14 @@ public:
configuration. This is valid during generation only. */
cmTargetManifest const& GetTargetManifest() { return this->TargetManifest; }
+ virtual const char* GetAllTargetName() { return "ALL_BUILD"; }
+ virtual const char* GetInstallTargetName() { return "INSTALL"; }
+ virtual const char* GetPreinstallTargetName() { return 0; }
+ virtual const char* GetTestTargetName() { return "RUN_TESTS"; }
+ virtual const char* GetPackageTargetName() { return "PACKAGE"; }
+ virtual const char* GetEditCacheTargetName() { return 0; }
+ virtual const char* GetRebuildCacheTargetName() { return 0; }
+
protected:
// Fill the ProjectMap, this must be called after LocalGenerators
// has been populated.
@@ -189,14 +197,6 @@ protected:
const cmCustomCommandLines* commandLines,
std::vector<std::string> depends, bool depends_on_all = false);
- virtual const char* GetAllTargetName() { return "ALL_BUILD"; }
- virtual const char* GetInstallTargetName() { return "INSTALL"; }
- virtual const char* GetPreinstallTargetName() { return 0; }
- virtual const char* GetTestTargetName() { return "RUN_TESTS"; }
- virtual const char* GetPackageTargetName() { return "PACKAGE"; }
- virtual const char* GetEditCacheTargetName() { return 0; }
- virtual const char* GetRebuildCacheTargetName() { return 0; }
-
bool ForceUnixPaths;
bool ToolSupportsColorVT100;
cmStdString FindMakeProgramFile;