diff options
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); |