summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeLiteGenerator.cxx
diff options
context:
space:
mode:
authorTobias R. Henle <tobias@page23.de>2018-03-11 14:27:12 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-14 17:20:28 (GMT)
commitacd322ebe4b1ef3a8b07df7f66860d06e6eb7cb5 (patch)
treeb4c4bd45847c4015384694d44b66074c07b963d2 /Source/cmExtraCodeLiteGenerator.cxx
parentc703972694874acc0c9921dcb1190700d98eb3c2 (diff)
downloadCMake-acd322ebe4b1ef3a8b07df7f66860d06e6eb7cb5.zip
CMake-acd322ebe4b1ef3a8b07df7f66860d06e6eb7cb5.tar.gz
CMake-acd322ebe4b1ef3a8b07df7f66860d06e6eb7cb5.tar.bz2
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 4dbaa3f..3e37aad 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;