diff options
author | Brad King <brad.king@kitware.com> | 2001-03-08 15:30:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-08 15:30:18 (GMT) |
commit | 4666b017101de1aa9367a8c6d8ad0b8cb03a77c5 (patch) | |
tree | b7a444b9a0dc7689617802f1321ff1c6d6f8197e /Source/cmSystemTools.cxx | |
parent | 5c8b68ba70c77eb2409e29a416599e13cc2d7e5e (diff) | |
download | CMake-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.cxx | 11 |
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; |