diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-08-25 10:49:21 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-08-26 10:24:32 +0200 |
commit | c76af87bd682696b8aaf6dc112eef781da72c85d (patch) | |
tree | d38bf5fe5fabc3bde3d650593d5b8d5c57044c91 /doc/tutorial/third-party-software.org | |
parent | 0994a6cc5b10c550b796ea57537adafa738525dd (diff) | |
download | justbuild-c76af87bd682696b8aaf6dc112eef781da72c85d.tar.gz |
tutorial/thrid-party-software: clarify tree refrence
... emphasizing that it constructs only a single artifact. In
this way, we avoid confusion with globs (that are introduced
later).
Diffstat (limited to 'doc/tutorial/third-party-software.org')
-rw-r--r-- | doc/tutorial/third-party-software.org | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/tutorial/third-party-software.org b/doc/tutorial/third-party-software.org index 2e1fb77e..5573716c 100644 --- a/doc/tutorial/third-party-software.org +++ b/doc/tutorial/third-party-software.org @@ -56,8 +56,10 @@ $ mkdir -p fmt-layer/src The directory ~include/fmt~ contains only header files. As we want all files in this directory to be included in the ~"header directory"~ target, we can safely -use the explicit ~TREE~ reference[fn:1], which collects /all/ directory contents -from ~"."~. Note that the ~TARGETS~ file is only part of the overlay, and +use the explicit ~TREE~ reference[fn:1], which collects, in a single +artifact (describing a directory) /all/ directory contents +from ~"."~ of the workspace root. Note that the ~TARGETS~ file is only part of +the overlay, and therefore will not be part of this tree. Furthermore, this tree should be staged to ~"fmt"~, so that any consumer can include those headers via ~<fmt/...>~. The resulting header directory target ~"hdrs"~ in ~include/fmt/TARGETS~ should be |