diff options
author | Brad King <brad.king@kitware.com> | 2001-03-19 15:09:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-19 15:09:04 (GMT) |
commit | 9312a7706b23f85a4230ada5a4f41457c4b4bd32 (patch) | |
tree | 2671ec8523ae1d851f56c4bf1b5c957af7e60b39 /Source/cmSystemTools.h | |
parent | 553457a4a48248d067fa545283642bb6ef91c593 (diff) | |
download | CMake-9312a7706b23f85a4230ada5a4f41457c4b4bd32.zip CMake-9312a7706b23f85a4230ada5a4f41457c4b4bd32.tar.gz CMake-9312a7706b23f85a4230ada5a4f41457c4b4bd32.tar.bz2 |
ENH: Added functions to get information about the CMake executable on each platform.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index fbc8c68..a0432c0 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -123,6 +123,17 @@ public: static long int ModifiedTime(const char* filename); + /** + * Get the CMake executable name on the current platform. This will + * be "CMakeBuildTargets" for unix, and "CMakeSetupCMD" for windows. + */ + static const char* GetCMakeExecutableName(); + + /** + * Get the CMake executable options for the current platform. This will + * be "" for unix, and "-DSP" for windows. + */ + static const char* GetCMakeExecutableOptions(); private: static bool s_ErrorOccured; |