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.h | |
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.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 6175623..da94820 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -86,6 +86,12 @@ public: static void GetPath(std::vector<std::string>& path); /** + * Get the file extension (including ".") needed for an executable + * on the current platform ("" for unix, ".exe" for Windows). + */ + static const char* GetExecutableExtension(); + + /** * Display an error message. */ static void Error(const char* m, const char* m2=0 ); |