diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2017-01-09 22:23:18 (GMT) |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2017-01-10 16:26:21 (GMT) |
commit | 3462118c6d700754e243492c3a65ef4ff26923f5 (patch) | |
tree | dbcd484fffc827d19610e388ee5476524adf0b2a /Source/cmExtraCodeBlocksGenerator.cxx | |
parent | 914728f8d724e834a402619d05309ad8154ba59d (diff) | |
download | CMake-3462118c6d700754e243492c3a65ef4ff26923f5.zip CMake-3462118c6d700754e243492c3a65ef4ff26923f5.tar.gz CMake-3462118c6d700754e243492c3a65ef4ff26923f5.tar.bz2 |
Allow CodeBlocks for NMake Makefiles JOM
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeBlocksGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index f544e8a..2dffcaa 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -48,6 +48,7 @@ cmExtraCodeBlocksGenerator::GetFactory() #if defined(_WIN32) factory.AddSupportedGlobalGenerator("MinGW Makefiles"); factory.AddSupportedGlobalGenerator("NMake Makefiles"); + factory.AddSupportedGlobalGenerator("NMake Makefiles JOM"); // disable until somebody actually tests it: // this->AddSupportedGlobalGenerator("MSYS Makefiles"); #endif @@ -741,7 +742,7 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand( } std::string generator = this->GlobalGenerator->GetName(); - if (generator == "NMake Makefiles") { + if (generator == "NMake Makefiles" || generator == "NMake Makefiles JOM") { // For Windows ConvertToOutputPath already adds quotes when required. // These need to be escaped, see // https://gitlab.kitware.com/cmake/cmake/issues/13952 |