diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2014-03-17 18:30:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-17 19:04:05 (GMT) |
commit | 64c2342a8d0f3e655349d3897d2dee46a89aaedc (patch) | |
tree | b42e5f4a9eedb561eede784e0f3174024f6dd507 /Source/cmGlobalWatcomWMakeGenerator.cxx | |
parent | 5d9aa66c91909b8d7eab16edb020c9a14205ba69 (diff) | |
download | CMake-64c2342a8d0f3e655349d3897d2dee46a89aaedc.zip CMake-64c2342a8d0f3e655349d3897d2dee46a89aaedc.tar.gz CMake-64c2342a8d0f3e655349d3897d2dee46a89aaedc.tar.bz2 |
Watcom: Enable 'WMake Makefiles' generator on Linux
Diffstat (limited to 'Source/cmGlobalWatcomWMakeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalWatcomWMakeGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalWatcomWMakeGenerator.cxx b/Source/cmGlobalWatcomWMakeGenerator.cxx index 671166e..0ae1b34 100644 --- a/Source/cmGlobalWatcomWMakeGenerator.cxx +++ b/Source/cmGlobalWatcomWMakeGenerator.cxx @@ -16,7 +16,9 @@ cmGlobalWatcomWMakeGenerator::cmGlobalWatcomWMakeGenerator() { this->FindMakeProgramFile = "CMakeFindWMake.cmake"; +#ifdef _WIN32 this->ForceUnixPaths = false; +#endif this->ToolSupportsColor = true; this->NeedSymbolicMark = true; this->EmptyRuleHackCommand = "@cd ."; @@ -44,7 +46,9 @@ cmLocalGenerator *cmGlobalWatcomWMakeGenerator::CreateLocalGenerator() { cmLocalUnixMakefileGenerator3* lg = new cmLocalUnixMakefileGenerator3; lg->SetDefineWindowsNULL(true); +#ifdef _WIN32 lg->SetWindowsShell(true); +#endif lg->SetWatcomWMake(true); lg->SetMakeSilentFlag("-h"); lg->SetGlobalGenerator(this); |