Skip to content

Commit

Permalink
update documentation of env
Browse files Browse the repository at this point in the history
Signed-off-by: Greta Yorsh <gyorsh@janestreet.com>
  • Loading branch information
gretay-js committed Dec 21, 2018
1 parent b03c555 commit e5b7441
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/dune-files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,10 @@ Fields supported in ``<settings>`` are:

- any OCaml flags field, see `OCaml flags`_ for more details.

- ``(c_flags <flags>)`` and ``(cxx_flags <flags>)``
to specify compilation flags for C and C++ stubs, respectively.
See `library`_ for more details.

- ``(env-vars (<var1> <val1>) .. (<varN> <valN>))``. This will add the
corresponding variables to the environment in which the build commands are
executed, and under which ``dune exec`` runs. At the moment, this mechanism is
Expand Down

0 comments on commit e5b7441

Please sign in to comment.