diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-09 17:17:42 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-13 10:40:53 +0200 |
commit | 6d5de545c4e67289f973cf6ba9bdbbaeb4eb4a99 (patch) | |
tree | 275df0914bd1e47fc0120ce5da9857c4cf690e84 /doc/reference/items/product.qdoc | |
parent | 33f0e83c0cd2c2f149f2b03ac7cb4ba9dd22fb1a (diff) |
Introduce sensible build directory values.
Currently, all products share the same build directory,
and rules are responsible for making their artifact file
paths unique, which is annoying for module authors and
introduces lots of code duplication.
Instead, make the product build directories unique and let
these directories be the base directory of relative artifact
file paths.
Also export the top-level build dir as project.buildDirectory
to the JavaScript side so rules can refer to that one if necessary.
Task-number: QBS-567
Change-Id: I257d37cad01ec6dece3e214799b917149677d80c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc/reference/items/product.qdoc')
-rw-r--r-- | doc/reference/items/product.qdoc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/reference/items/product.qdoc b/doc/reference/items/product.qdoc index 295b3df67..f973d2b8c 100644 --- a/doc/reference/items/product.qdoc +++ b/doc/reference/items/product.qdoc @@ -97,8 +97,9 @@ \row \li destinationDirectory \li string - \li "." - \li The directory where the target artifacts will be located. Relative to the build directory. + \li product.buildDirectory + \li The directory where the target artifacts will be located. If a relative path is + given, the base directory will be \c project.buildDirectory. \row \li files \li stringList @@ -132,7 +133,7 @@ Info.plist files in OS X and iOS application and framework bundles, for example. \endtable - The following properties are automatically set by \QBS and usually are not changed by the user: + The following properties are automatically set by \QBS and cannot be changed by the user: \table \header @@ -141,12 +142,12 @@ \li Description \row \li buildDirectory - \li string + \li path \li The build directory for this product. This is the directory where generated files are placed. \row \li sourceDirectory - \li string + \li path \li The source directory for this product. This is the directory of the file where this product is defined. \endtable |