mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
CodeLite: Use make -jN switch when generating Unix/MinGW makefiles
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user