diff options
author | Brad King <brad.king@kitware.com> | 2001-05-03 20:55:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-05-03 20:55:18 (GMT) |
commit | 5079efdc68c94d93a2b77e5b42dd229de2a77836 (patch) | |
tree | 93469d7eb36db26d6fbfa961c18663e0908243f1 /Source/cmSystemTools.h | |
parent | 79f95167bd6b370a0f776010e554ddb9f1e21bb3 (diff) | |
download | CMake-5079efdc68c94d93a2b77e5b42dd229de2a77836.zip CMake-5079efdc68c94d93a2b77e5b42dd229de2a77836.tar.gz CMake-5079efdc68c94d93a2b77e5b42dd229de2a77836.tar.bz2 |
ENH: Added cmSystemTools::FindProgram() and full-path detection utilities.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 2cc9c8e..3c6fd45 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -166,6 +166,15 @@ public: */ static bool IsOff(const char* val); + static std::string FindProgram(const char* name, + const std::vector<std::string>& = std::vector<std::string>()); + + static bool FileIsDirectory(const char* name); + static std::string GetCurrentWorkingDirectory(); + static std::string GetProgramPath(const char*); + static void SplitProgramPath(const char* in_name, std::string& dir, std::string& file); + static std::string CollapseFullPath(const char*); + static long int ModifiedTime(const char* filename); private: |