diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-08-21 20:22:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-08-21 20:22:23 (GMT) |
commit | a413160fecc73bf61fccff9b74d6e18349eeb861 (patch) | |
tree | 5cbc485d7850ebc5200d8f094ba1559b1bc202e8 /Source/cmSystemTools.h | |
parent | 0270b60b8f32c0da9bbe66ebee6aea92ab177c3c (diff) | |
download | CMake-a413160fecc73bf61fccff9b74d6e18349eeb861.zip CMake-a413160fecc73bf61fccff9b74d6e18349eeb861.tar.gz CMake-a413160fecc73bf61fccff9b74d6e18349eeb861.tar.bz2 |
ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 2ecd504..724c5ec 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -235,8 +235,14 @@ public: /** Split a string on its newlines into multiple lines. Returns false only if the last line stored had no newline. */ static bool Split(const char* s, std::vector<cmStdString>& l); - + static void SetForceUnixPaths(bool v) + { + s_ForceUnixPaths = v; + } + static std::string ConvertToOutputPath(const char* path); + private: + static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; static bool s_ErrorOccured; static bool s_FatalErrorOccured; |