Merge topic 'codelite-generator-multi-jobs-bug-fix'

75c05113 CodeLite: Use make -jN switch when generating Unix/MinGW makefiles
This commit is contained in:
Brad King 2014-02-03 11:11:09 -05:00 committed by CMake Topic Stage
commit 7ab204509e
1 changed files with 6 additions and 2 deletions

View File

@ -449,8 +449,12 @@ cmExtraCodeLiteGenerator::GetBuildCommand(const cmMakefile* mf) const
buildCommand = make;
}
else if ( generator == "MinGW Makefiles" ||
generator == "Unix Makefiles" ||
generator == "Ninja" )
generator == "Unix Makefiles" )
{
ss << make << " -j " << this->CpuCount;
buildCommand = ss.str();
}
else if ( generator == "Ninja" )
{
ss << make;
buildCommand = ss.str();