Merge topic 'codelite-generator-multi-jobs-bug-fix'
75c05113
CodeLite: Use make -jN switch when generating Unix/MinGW makefiles
This commit is contained in:
commit
7ab204509e
|
@ -449,8 +449,12 @@ cmExtraCodeLiteGenerator::GetBuildCommand(const cmMakefile* mf) const
|
||||||
buildCommand = make;
|
buildCommand = make;
|
||||||
}
|
}
|
||||||
else if ( generator == "MinGW Makefiles" ||
|
else if ( generator == "MinGW Makefiles" ||
|
||||||
generator == "Unix Makefiles" ||
|
generator == "Unix Makefiles" )
|
||||||
generator == "Ninja" )
|
{
|
||||||
|
ss << make << " -j " << this->CpuCount;
|
||||||
|
buildCommand = ss.str();
|
||||||
|
}
|
||||||
|
else if ( generator == "Ninja" )
|
||||||
{
|
{
|
||||||
ss << make;
|
ss << make;
|
||||||
buildCommand = ss.str();
|
buildCommand = ss.str();
|
||||||
|
|
Loading…
Reference in New Issue