summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-19 15:09:04 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-19 15:09:04 (GMT)
commit9312a7706b23f85a4230ada5a4f41457c4b4bd32 (patch)
tree2671ec8523ae1d851f56c4bf1b5c957af7e60b39 /Source/cmSystemTools.cxx
parent553457a4a48248d067fa545283642bb6ef91c593 (diff)
downloadCMake-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.cxx')
-rw-r--r--Source/cmSystemTools.cxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index ca1cc5d..d5de675 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -487,3 +487,24 @@ void cmSystemTools::RemoveFile(const char* source)
unlink(source);
}
+
+const char* cmSystemTools::GetCMakeExecutableName()
+{
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ return "CMakeSetupCMD";
+#else
+ return "CMakeBuildTargets";
+#endif
+}
+
+const char* cmSystemTools::GetCMakeExecutableOptions()
+{
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ return "-DSP";
+#else
+ return "";
+#endif
+}
+
+
+