summaryrefslogtreecommitdiff
path: root/doc/tutorial/third-party-software.org
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-11-14 12:00:26 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-11-14 12:01:33 +0100
commit847d06260d041d186a7e8f2a70a12fa4d67691f3 (patch)
treedee7db1d2a66d317698ee2e5cf7481a029ff6f2e /doc/tutorial/third-party-software.org
parentbbd3319a00e91bd50fcabeb99e6096a349f692ca (diff)
downloadjustbuild-847d06260d041d186a7e8f2a70a12fa4d67691f3.tar.gz
tutorial: hint on --dump-vars
... when introducing export targets. In this way, the user has a way to take a meaningful decission on which variables to export.
Diffstat (limited to 'doc/tutorial/third-party-software.org')
-rw-r--r--doc/tutorial/third-party-software.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/tutorial/third-party-software.org b/doc/tutorial/third-party-software.org
index f9237047..c024b308 100644
--- a/doc/tutorial/third-party-software.org
+++ b/doc/tutorial/third-party-software.org
@@ -117,6 +117,13 @@ following content:
}
#+END_SRC
+After adding the library to the multi-repository configuration (next
+step), the list of configuration variables a target, like ~["src",
+"fmt"]~, actually depends on can be obtained using the ~--dump-vars~
+option of the ~analyse~ subcommand. In this way, an informed
+decission can be taken when deciding which variables of the export
+target to make tunable for the consumer.
+
** Adding fmtlib to the Multi-Repository Configuration
Based on the /hello world/ tutorial, we can extend the existing ~repos.json~ by