summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/command.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix meaning of "Command.silent".Christian Kandeler2013-11-061-1/+3
| | | | | | | | | | | The new, saner meaning is: If this property is set to true, then qbs will not print the status message (containing the command description). Accordingly, the default is changed to false. Also, there is now a check that prints a warning if a non-silent command has an empty description. Change-Id: I5a8fd4e2f8901f6e2858946901e8081a6929d43f Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Remove unused setters from the Command class.Christian Kandeler2013-11-061-5/+0
| | | | | Change-Id: Ic9613a904940eb97af509a60319ddce76f242cb2 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* react smarter on changed properties and added productsJoerg Bornemann2013-04-081-0/+3
| | | | | | | | | | | | Instead of throwing away the whole build graph, we detect changed properties in products and invalidate only those. Also, adding products does not cause a full rebuild anymore. Task-number: QBS-6 Task-number: QBS-235 Change-Id: I3ab1ca84eaeaf28bb083da4e6926e7b1ebbd7694 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Make a process' environment configurable in a prepare script.Christian Kandeler2013-04-031-0/+6
| | | | | | | | This is needed for applications that are configured via environment variables rather than command-line arguments. Change-Id: I114f2bcd65d8551175b35ffbd4912bd37699dc89 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* update copyright yearJoerg Bornemann2013-01-091-1/+1
| | | | | Change-Id: Ic2962e57ede037b910d7e77b01b0163f0a22cb7d Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Make header guards unique.Christian Kandeler2012-11-291-3/+3
| | | | | | | | | We add a "QBS_" prefix everywhere to reduce the chance of clashes with header files from somewhere else. This is especially important for the headers to be included in client code. Change-Id: I2fe8de250073a79f4ae9a4237569c21a980f7c85 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce namespace Internal.Christian Kandeler2012-11-081-0/+2
| | | | | | | | | This makes it obvious at first glance which facilities are for public use and which are not, which should be useful especially for clients of the library. Change-Id: I7f74f13b5c8a4c63a1de57bf607084a3a3852653 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* pass targetObject to setup functions of *Command classesJoerg Bornemann2012-10-121-7/+3
| | | | | | | | Make it possible to initialize the *Command classes in a different object than the global object. Change-Id: I604b53cba565e824dce961b79414a3f09d68c0ef Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Get rid of some calls to qDebug() and qWarning().Christian Kandeler2012-10-101-3/+7
| | | | | | | | | Along the way: - Prevent instantiation of AbstractCommand. - Put streaming operators into the right namespace. Change-Id: I6b914f3497d52e0a9496875f1be2709fd72e56b4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* license and copyright updatedJoerg Bornemann2012-10-081-28/+21
| | | | | | Change-Id: I0c0b3035514ee6b735e85c098029fa2f41edb6ff Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Rework #includes.Christian Kandeler2012-10-021-2/+2
| | | | | | | | | | | | | - Do not use the Qt module as a prefix. This serves no purpose and potentially introduces incompatibilities between different Qt versions. - While we're at it, also - sort #includes by file name - use the official file name instead of the internal one (e.g. QtGlobal instead of qglobal.h). - remove some excessive whitespace Change-Id: I9358b2571622ca661936382305d7f159b9770008 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* save the code's location in JavaScriptCommand objectsJoerg Bornemann2012-02-281-3/+8
| | | | | | Change-Id: Iee440fbe4ba4530cbb5f296b3bd50fcd78ca0cbd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Long live qbs!Joerg Bornemann2012-02-151-0/+154
Change-Id: I412793e868919a9ac99611616f292e7047f1ebcf