mte/unikernel/duniverse/dune_/doc/reference/dune-project/index.rst
2025-11-11 02:07:51 +01:00

47 lines
973 B
ReStructuredText

dune-project
============
Each ``dune-project`` file marks the root of a Dune projects within the current
Dune workspace (see :doc:`/explanation/scopes`). It can also specify project-wide
parameters.
The first line of ``dune-project`` must be a ``lang`` stanza with no extra
whitespace or comments. The ``lang`` stanza controls the names and contents of
all configuration files read by Dune and looks like:
.. code:: dune
(lang dune 3.14)
Additionally, they can contains the following stanzas.
.. toctree::
accept_alternative_dune_file_name
authors
bug_reports
cram
dialect
documentation
executables_implicit_empty_intf
expand_aliases_in_sandbox
explicit_js_mode
formatting
generate_opam_files
homepage
implicit_transitive_deps
license
maintainers
maintenance_intent
map_workspace_root
name
opam_file_location
package
pin
source
subst
use_standard_c_and_cxx_flags
using
version
warnings
wrapped_executables