diff options
| author | Théo Zimmermann | 2018-09-05 13:04:00 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-09-05 13:04:00 +0200 |
| commit | 579f30a53809f9cf73aa3d7c69960b50fc51c7fc (patch) | |
| tree | da69bfd576092da56f66c04ae800db5ae0042c33 /config | |
| parent | dc78205a55fe1825c8744d3acb7bb43e08d39c4e (diff) | |
| parent | 920723ab4c1707c0a98c978cdd7742d47e58582f (diff) | |
Merge PR #6857: [build] Preliminary support for building with `dune`.
Diffstat (limited to 'config')
| -rw-r--r-- | config/dune | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/dune b/config/dune new file mode 100644 index 0000000000..30faf1233e --- /dev/null +++ b/config/dune @@ -0,0 +1,13 @@ +(library + (name config) + (synopsis "Coq Configuration Variables") + (public_name coq.config) + (wrapped false)) + +; Dune doesn't use configure's output, but it is still necessary for +; some Coq files to work; will be fixed in the future. +(rule + (targets coq_config.ml) + (mode fallback) + (deps %{project_root}/configure.ml %{project_root}/dev/ocamldebug-coq.run) + (action (chdir %{project_root} (run %{ocaml} configure.ml -local -warn-error yes -native-compiler yes)))) |
