summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-08 15:30:18 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-08 15:30:18 (GMT)
commit4666b017101de1aa9367a8c6d8ad0b8cb03a77c5 (patch)
treeb7a444b9a0dc7689617802f1321ff1c6d6f8197e /Source/cmSystemTools.cxx
parent5c8b68ba70c77eb2409e29a416599e13cc2d7e5e (diff)
downloadCMake-4666b017101de1aa9367a8c6d8ad0b8cb03a77c5.zip
CMake-4666b017101de1aa9367a8c6d8ad0b8cb03a77c5.tar.gz
CMake-4666b017101de1aa9367a8c6d8ad0b8cb03a77c5.tar.bz2
ENH: Added UTILITY_SOURCE command for specifying where a 3rd party utility's source is located when it is included in the distribution of a project.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 75bc616..848e7be 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -65,6 +65,17 @@ void cmSystemTools::GetPath(std::vector<std::string>& path)
}
}
+
+const char* cmSystemTools::GetExecutableExtension()
+{
+#if defined(_WIN32)
+ return ".exe";
+#else
+ return "";
+#endif
+}
+
+
bool cmSystemTools::MakeDirectory(const char* path)
{
std::string dir = path;