mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 09:08:58 -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") {
|
if (generator == "NMake Makefiles" || generator == "Ninja") {
|
||||||
ss << make;
|
ss << make;
|
||||||
} else if (generator == "MinGW Makefiles" || generator == "Unix Makefiles") {
|
} else if (generator == "MinGW Makefiles" || generator == "Unix Makefiles") {
|
||||||
ss << make << " -j " << this->CpuCount;
|
ss << make << " -f$(ProjectPath)/Makefile -j " << this->CpuCount;
|
||||||
}
|
}
|
||||||
if (!targetName.empty()) {
|
if (!targetName.empty()) {
|
||||||
ss << " " << targetName;
|
ss << " " << targetName;
|
||||||
|
|||||||
Reference in New Issue
Block a user