summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorJohn Biddiscombe <jbiddiscombe@skippingmouse.co.uk>2001-06-05 21:41:16 (GMT)
committerJohn Biddiscombe <jbiddiscombe@skippingmouse.co.uk>2001-06-05 21:41:16 (GMT)
commit46aa080edc059d96c0ef7ce9c2e31fa7173c63bd (patch)
tree390fbf793b3ced92f062726f97c328870a792a2a /Source/cmSystemTools.h
parent729908bd4ab74c9ccab24d621514edd3fd0907c6 (diff)
downloadCMake-46aa080edc059d96c0ef7ce9c2e31fa7173c63bd.zip
CMake-46aa080edc059d96c0ef7ce9c2e31fa7173c63bd.tar.gz
CMake-46aa080edc059d96c0ef7ce9c2e31fa7173c63bd.tar.bz2
ENH: Some tweaks, hacks and #ifdefs required to compile
cmake on Borland C++Builder
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index a0f672f..749b2e8 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -88,7 +88,13 @@ public:
* Replace Windows file system slashes with Unix-style slashes.
*/
static void ConvertToUnixSlashes(std::string& path);
-
+
+ /**
+ * Replace Unix file system slashes with Windows-style slashes and
+ * remove any duplicate slashes to clean the path.
+ */
+ static void CleanUpWindowsSlashes(std::string& path);
+
///! Return true if a file exists in the current directory.
static bool FileExists(const char* filename);