summaryrefslogtreecommitdiff
path: root/Source/cmExtraCodeLiteGenerator.cxx
diff options
context:
space:
mode:
authorTobias R. Henle <tobias@page23.de>2018-03-11 15:27:12 +0100
committerBrad King <brad.king@kitware.com>2018-03-14 13:20:28 -0400
commitacd322ebe4b1ef3a8b07df7f66860d06e6eb7cb5 (patch)
treeb4c4bd45847c4015384694d44b66074c07b963d2 /Source/cmExtraCodeLiteGenerator.cxx
parentc703972694874acc0c9921dcb1190700d98eb3c2 (diff)
downloadcmake-acd322ebe4b1ef3a8b07df7f66860d06e6eb7cb5.tar.gz
CodeLite: Use project Makefile instead of workspace Makefile.
Use the selected project Makefile instead of the global workspace Makefile during build of a project.
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
-rw-r--r--Source/cmExtraCodeLiteGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx
index 4dbaa3f41e..3e37aada9e 100644
--- a/Source/cmExtraCodeLiteGenerator.cxx
+++ b/Source/cmExtraCodeLiteGenerator.cxx
@@ -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;