| Summary: | make options, more than one job | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Aleix Pol <aleixpol> |
| Component: | Build tools: QMake | Assignee: | Andreas Pakulat <apaku> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Aleix Pol
2007-02-10 04:29:22 UTC
Confiredm. Next time please state which build system you're using. (Its working for custom and automake) SVN commit 632221 by apaku:
Don't add -j if the option is turned off
BUG:141470
M +2 -1 trollprojectwidget.cpp
--- branches/kdevelop/3.4/buildtools/qmake/trollprojectwidget.cpp #632220:632221
@@ -2017,8 +2017,9 @@
}
if ( !DomUtil::readBoolEntry( dom, "/kdevtrollproject/make/abortonerror" ) )
cmdline += " -k";
+ bool runmultiple = DomUtil::readBoolEntry(dom, "/kdevautoproject/make/runmultiplejobs");
int jobs = DomUtil::readIntEntry( dom, "/kdevtrollproject/make/numberofjobs" );
- if ( jobs != 0 )
+ if ( jobs != 0 && runmultiple )
{
cmdline += " -j";
cmdline += QString::number( jobs );
|