diff options
author | Brad King <brad.king@kitware.com> | 2005-02-24 19:47:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-24 19:47:45 (GMT) |
commit | 495666742baf665e78c8d1d5a38bea6f0e8ab837 (patch) | |
tree | fac14a05604ced955e516106bac48cec5d4390ed /Source/kwsys/SystemTools.hxx.in | |
parent | 2ebbf64508e59defaa82e188b8796c2d238f37a7 (diff) | |
download | CMake-495666742baf665e78c8d1d5a38bea6f0e8ab837.zip CMake-495666742baf665e78c8d1d5a38bea6f0e8ab837.tar.gz CMake-495666742baf665e78c8d1d5a38bea6f0e8ab837.tar.bz2 |
ENH: Added ComparePath method.
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r-- | Source/kwsys/SystemTools.hxx.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index ab702d2..a9ebfe7 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -273,6 +273,11 @@ public: static kwsys_stl::string JoinPath(const kwsys_stl::vector<kwsys_stl::string>& components); + /** + * Compare a path or components of a path. + */ + static bool ComparePath(const char* c1, const char* c2); + ///! return path of a full filename (no trailing slashes). static kwsys_stl::string GetFilenamePath(const kwsys_stl::string&); |