diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-27 21:28:15 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-27 21:28:15 (GMT) |
commit | 780a9bbda7142773dfa479a5fe3c231a173943fc (patch) | |
tree | 78e55144bbe22f6e19ed8923ff1aab621efdc70a /Source/cmSystemTools.h | |
parent | c310600df56e7896cb0b996eb0dd9d24203d94fb (diff) | |
download | CMake-780a9bbda7142773dfa479a5fe3c231a173943fc.zip CMake-780a9bbda7142773dfa479a5fe3c231a173943fc.tar.gz CMake-780a9bbda7142773dfa479a5fe3c231a173943fc.tar.bz2 |
Add two cmake commands -E echo for echoing strings and -E comspec for workaround of bug of windows 9x; add another implementation of run command on windows which should work...
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 716c2cf..7ef4a4d 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -311,6 +311,14 @@ public: */ static e_FileFormat GetFileFormat(const char* ext); + /** + * On Windows 9x we need a comspec (command.com) substitute to run + * programs correctly. This string has to be constant available + * through the running of program. This method does not create a copy. + */ + static void SetWindows9xComspecSubstitute(const char*); + static const char* GetWindows9xComspecSubstitute(); + protected: // these two functions can be called from ConvertToOutputPath /** @@ -333,6 +341,8 @@ private: static bool s_DisableRunCommandOutput; static ErrorCallback s_ErrorCallback; static void* s_ErrorCallbackClientData; + + static std::string s_Windows9xComspecSubstitute; }; |