I have two questions regarding dune build flags.
- what are the default (standard) flags for ocamlopt, ocamlc, js_of_ocaml
and
- how to set default flags for the entire project (i.e. one containing many libs and exes)
As far as I understand I need a dune file in the root with the env stanza, something like
(env
(release
(ocamlopt_flags (:standard -O3 -unbox-closures))))
How to add js_of_ocaml flags to it?
6 posts - 4 participants