mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
CodeLite: Use project Makefile instead of workspace Makefile.
Use the selected project Makefile instead of the global workspace Makefile during build of a project.
This commit is contained in:
committed by
Brad King
parent
c703972694
commit
acd322ebe4
@@ -635,7 +635,7 @@ std::string cmExtraCodeLiteGenerator::GetBuildCommand(
|
||||
if (generator == "NMake Makefiles" || generator == "Ninja") {
|
||||
ss << make;
|
||||
} else if (generator == "MinGW Makefiles" || generator == "Unix Makefiles") {
|
||||
ss << make << " -j " << this->CpuCount;
|
||||
ss << make << " -f$(ProjectPath)/Makefile -j " << this->CpuCount;
|
||||
}
|
||||
if (!targetName.empty()) {
|
||||
ss << " " << targetName;
|
||||
|
||||
Reference in New Issue
Block a user