summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-25 15:23:04 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-25 15:23:04 (GMT)
commit54731fa2c88879bf19cee97493556a02f833dda3 (patch)
treeed914c77b53837aedf6e014ddb426bd1fe3f6a80 /Source/cmLocalGenerator.cxx
parent9e29a742a931e67ed92038e0250af66bbff07ff7 (diff)
downloadCMake-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.cxx5
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 ?