diff options
author | Brad King <brad.king@kitware.com> | 2001-04-09 14:31:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-04-09 14:31:36 (GMT) |
commit | e0da3ef275682626ec2e23d1abd6cca752882b47 (patch) | |
tree | 9a0e8ed9cc7a7fc8c3c07d89f255e08c33d257bb /Source/cmSystemTools.h | |
parent | e7bd5fcd19064480142aae2928189dc822fad47c (diff) | |
download | CMake-e0da3ef275682626ec2e23d1abd6cca752882b47.zip CMake-e0da3ef275682626ec2e23d1abd6cca752882b47.tar.gz CMake-e0da3ef275682626ec2e23d1abd6cca752882b47.tar.bz2 |
ERR: Corrected use of double-quotes to be compatible with UNIX make. Now double quotes (windows) or escape sequences for spaces (unix) are added when dependencies are output.
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 f872a2c..04347fc 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -43,6 +43,12 @@ public: const char* with); /** + * Return a string equivalent to the input string, but with all " " replaced + * with "\ " to escape the spaces. + */ + static std::string EscapeSpaces(const char*); + + /** * Replace Windows file system slashes with Unix-style slashes. */ static void ConvertToUnixSlashes(std::string& path); |