Skip to content

Commit bbed05c

Browse files
committed
Doc
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
1 parent 42fb95b commit bbed05c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/stanzas/library.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ order to declare a multi-directory library, you need to use the
5454
<modules>)`` field. ``<modules>`` uses the
5555
:doc:`reference/ordered-set-language`, where elements are module names and
5656
don't need to start with an uppercase letter. For instance, to exclude module
57-
``Foo``, use ``(modules (:standard \ foo))``
57+
``Foo``, use ``(modules (:standard \ foo))``. Starting in Dune 3.13, one can
58+
also use special forms ``(:include <file>)`` and variables such as
59+
``%{read-lines:<file>}`` in this field to customize the list of modules using
60+
Dune rules. The dependencies introduced in this way *must live in a different
61+
directory that the stanza making use of them*.
5862

5963
- ``(libraries <library-dependencies>)`` specifies the library's dependencies.
6064
See :doc:`reference/library-dependencies` for more details.

0 commit comments

Comments
 (0)