diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-19 23:17:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-19 23:17:17 (GMT) |
commit | 5a75e03037b946abe56563fa1b568496f309ef5d (patch) | |
tree | 23f08815b01fea1e7216fac52a293ed347f73ad2 /Source/cmSystemTools.h | |
parent | 939035ad91aff5de5a1b514176cd2765a1b9a728 (diff) | |
download | CMake-5a75e03037b946abe56563fa1b568496f309ef5d.zip CMake-5a75e03037b946abe56563fa1b568496f309ef5d.tar.gz CMake-5a75e03037b946abe56563fa1b568496f309ef5d.tar.bz2 |
allow flags to be in the CC and CXX environment variables
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 8d915ca..9234283 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -266,10 +266,15 @@ public: ///! return path of a full filename (no trailing slashes). static std::string GetFilenamePath(const std::string&); + ///! return file name of a full filename (i.e. file name without path). static std::string GetFilenameName(const std::string&); + ///! Split a program from its arguments and handle spaces in the paths. + static void SplitProgramFromArgs(const char* path, + std::string& program, std::string& args); + ///! return file extension of a full filename (dot included). static std::string GetFilenameExtension(const std::string&); |