diff options
author | Brad King <brad.king@kitware.com> | 2017-01-12 15:20:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-01-12 15:20:27 (GMT) |
commit | 082456e5a3ded411c6cbbdf9c3d3f6fb39fbc9c5 (patch) | |
tree | 2ac04aad83ff546b3b607c6a1ba56fde6255532d /Source | |
parent | c9a0b14153b87de34a651b1136971f9404fc362c (diff) | |
parent | 3462118c6d700754e243492c3a65ef4ff26923f5 (diff) | |
download | CMake-082456e5a3ded411c6cbbdf9c3d3f6fb39fbc9c5.zip CMake-082456e5a3ded411c6cbbdf9c3d3f6fb39fbc9c5.tar.gz CMake-082456e5a3ded411c6cbbdf9c3d3f6fb39fbc9c5.tar.bz2 |
Merge topic 'codeblocks-nmake-makefiles-jom'
3462118c Allow CodeBlocks for NMake Makefiles JOM
Diffstat (limited to 'Source')
-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 |