aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs/parser/commandlineoption.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add option to log how much time an operation takes.Christian Kandeler2013-03-261-2/+35
| | | | | | | | This is an interesting information that people might want independently of debugging output. Change-Id: I4a1e3c31cfce6546b43bd2f5f343bf297d764a42 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Remove global log sink.Christian Kandeler2013-02-061-6/+5
| | | | | | | | | | | | | | | Applications may not want to use the same log sink for all builds. The logging facility is also decoupled from the command-line client in other ways: - The LogWriter modifiers for output channel and text color are gone, since this type of decision should not be made by low-level code. Instead, the "highlight" string can be forwarded to the log sink. - The console logger now lives in app/shared, as it must never be used by library code. Change-Id: I8863a554c9b74577320ef23f6f934a74e0f0cbb0 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce new command-line option "--force".Christian Kandeler2013-02-011-0/+15
| | | | | | | | Useful for overriding certain sanity checks. No use case implemented yet. Change-Id: I10df8fbfde9b293832298fa27fc6fd4955dd9a44 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce the "install" command.Christian Kandeler2013-01-221-5/+47
| | | | | | | | | | | This decouples building and installing, e.g. allowing the latter to be executed by a privileged user to a system-wide directory. In addition, the ability to install build artifacts (typically executables or libraries) has been added. Change-Id: I28e725e4c1168eebe88e12c75e3d3e9f5fe28ca5 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>
* Fix compile warning.Christian Kandeler2012-12-191-0/+1
| | | | | | | Function argument is not used in release mode. Change-Id: I1a584a62e5bc00bda1fe31ff93de7b144b7798fb Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Make the "run" command easier to use.Christian Kandeler2012-12-111-1/+1
| | | | | | | | | | | Instead of forcing the user to give the file name of the executable (which is usually different on Linux and Windows) and trying to find a product for it, we now take the product name and deduce the executable. This is a much more sensible approach. Change-Id: Id90be26a83194761e04dcabc19c2a26ff5062d95 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add command-line support for removing all build artifacts.v0.2.0Christian Kandeler2012-12-111-0/+12
| | | | | | | Task-number: QBS-109 Change-Id: I20e4f8587f880a33de594488bb189649aadaec89 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Redo help output.Christian Kandeler2012-12-051-0/+296
It's not feasible to document all commands and options correctly in one help screen. Instead, we now have a main help screen listing all possible commands and one dedicated help screen for every command. The more thorough and precise help output goes hand in hand with fixing a number of parsing bugs and underspecified commands. This, in turn, necessitated a refactoring of the command line parser, which is now much more modular. Change-Id: Id18f8c609d7d4a797a06598c3df4bc9ba02c9615 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>