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/cmake.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/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 4ce1d70..ede6842 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -60,13 +60,15 @@ # include "cmGlobalBorlandMakefileGenerator.h" # include "cmGlobalNMakeMakefileGenerator.h" # include "cmGlobalJOMMakefileGenerator.h" -# include "cmGlobalWatcomWMakeGenerator.h" # define CMAKE_HAVE_VS_GENERATORS # endif # include "cmGlobalMSYSMakefileGenerator.h" # include "cmGlobalMinGWMakefileGenerator.h" #else #endif +#if defined(CMAKE_USE_WMAKE) +# include "cmGlobalWatcomWMakeGenerator.h" +#endif #include "cmGlobalUnixMakefileGenerator3.h" #include "cmGlobalNinjaGenerator.h" #include "cmExtraCodeLiteGenerator.h" @@ -1781,8 +1783,6 @@ void cmake::AddDefaultGenerators() cmGlobalNMakeMakefileGenerator::NewFactory()); this->Generators.push_back( cmGlobalJOMMakefileGenerator::NewFactory()); - this->Generators.push_back( - cmGlobalWatcomWMakeGenerator::NewFactory()); # endif this->Generators.push_back( cmGlobalMSYSMakefileGenerator::NewFactory()); @@ -1793,6 +1793,10 @@ void cmake::AddDefaultGenerators() cmGlobalUnixMakefileGenerator3::NewFactory()); this->Generators.push_back( cmGlobalNinjaGenerator::NewFactory()); +#if defined(CMAKE_USE_WMAKE) + this->Generators.push_back( + cmGlobalWatcomWMakeGenerator::NewFactory()); +#endif #ifdef CMAKE_USE_XCODE this->Generators.push_back( cmGlobalXCodeGenerator::NewFactory()); |