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:
Tobias R. Henle
2018-03-11 15:27:12 +01:00
committed by Brad King
parent c703972694
commit acd322ebe4
+1 -1
View File
@@ -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;