aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qbs.qdoc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2014-10-29 11:06:37 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-01-08 10:44:40 +0100
commit0fcbcb9ddf7fab9698bccbd75f1190640f641439 (patch)
treeac023966b7672615ef30f5c72a2c47a40ea2d180 /doc/qbs.qdoc
parent79bd57e2e8e4a8704c3588de8cc49487abf52652 (diff)
Do installation at build time.
This is useful for e.g. "packaging products" that work on the contents of installation folders. For this purpose, we also expose the install root as a property in the qbs module. Opt-out is available, and the "install" command still works. Change-Id: I346a8e6d19fc24b38660201b1f6fa510acc6676c Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Diffstat (limited to 'doc/qbs.qdoc')
-rw-r--r--doc/qbs.qdoc7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/qbs.qdoc b/doc/qbs.qdoc
index 5ed0db3b4..50a29e76b 100644
--- a/doc/qbs.qdoc
+++ b/doc/qbs.qdoc
@@ -711,14 +711,13 @@
The actual installation is then done like this (using the default profile):
\code
- qbs install --install-root /tmp/myProjectRoot --remove-first
+ qbs --clean-install-root qbs.installRoot:/tmp/myProjectRoot
\endcode
Here, we want the installDir properties from the project file to be interpreted relative
to the directory \c{/tmp/myProjectRoot}, and we want that directory to be removed first.
- If the \c{--install-root} option is not given, a default is used, namely \c{<build root>/install-root}.
- \QBS understands the special install root value \c{@sysroot}, which stands for the value of
- the property \c{qbs.sysroot}.
+ If the \c{qbs.installRoot} property is not given, a default is used, namely
+ \c{<build root>/install-root}.
*/
/*!