diff options
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; |