diff options
author | Brad King <brad.king@kitware.com> | 2006-10-25 15:23:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-25 15:23:04 (GMT) |
commit | 54731fa2c88879bf19cee97493556a02f833dda3 (patch) | |
tree | ed914c77b53837aedf6e014ddb426bd1fe3f6a80 /Source/cmLocalGenerator.cxx | |
parent | 9e29a742a931e67ed92038e0250af66bbff07ff7 (diff) | |
download | CMake-54731fa2c88879bf19cee97493556a02f833dda3.zip CMake-54731fa2c88879bf19cee97493556a02f833dda3.tar.gz CMake-54731fa2c88879bf19cee97493556a02f833dda3.tar.bz2 |
ENH: Adding support for # escape in Watcom WMake.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 0b0594c..2909b33 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -40,6 +40,7 @@ cmLocalGenerator::cmLocalGenerator() this->Parent = 0; this->WindowsShell = false; this->WindowsVSIDE = false; + this->WatcomWMake = false; this->MSYSShell = false; this->IgnoreLibPrefix = false; this->UseRelativePaths = false; @@ -2348,6 +2349,10 @@ std::string cmLocalGenerator::EscapeForShell(const char* str, bool makeVars, { flags |= cmsysSystem_Shell_Flag_EchoWindows; } + if(this->WatcomWMake) + { + flags |= cmsysSystem_Shell_Flag_WatcomWMake; + } // Compute the buffer size needed. int size = (this->WindowsShell ? |