diff options
author | Brad King <brad.king@kitware.com> | 2008-01-13 21:36:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-13 21:36:20 (GMT) |
commit | 857e2e15dd8871b67ee00a939e903916320457e4 (patch) | |
tree | dde741acf9e16d62f19d78b2be632a4562918a75 /Source/cmLocalGenerator.cxx | |
parent | 4e96f4d503aff294343f9c3e27e85c54aa15998f (diff) | |
download | CMake-857e2e15dd8871b67ee00a939e903916320457e4.zip CMake-857e2e15dd8871b67ee00a939e903916320457e4.tar.gz CMake-857e2e15dd8871b67ee00a939e903916320457e4.tar.bz2 |
ENH: Improved escaping in kwsys/System. Added escape of % for NMake. Added escape of ; for the VS IDE.
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 e7d78cd..4253848 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -48,6 +48,7 @@ cmLocalGenerator::cmLocalGenerator() this->WindowsVSIDE = false; this->WatcomWMake = false; this->MinGWMake = false; + this->NMake = false; this->MSYSShell = false; this->IgnoreLibPrefix = false; this->UseRelativePaths = false; @@ -2884,6 +2885,10 @@ std::string cmLocalGenerator::EscapeForShell(const char* str, bool makeVars, { flags |= cmsysSystem_Shell_Flag_MinGWMake; } + if(this->NMake) + { + flags |= cmsysSystem_Shell_Flag_NMake; + } // Compute the buffer size needed. int size = (this->WindowsShell ? |