diff options
| author | Emilio Jesus Gallego Arias | 2018-10-16 15:17:31 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-23 01:17:24 +0200 |
| commit | f8881bcc694644700e20f475b0a36ec740b2547d (patch) | |
| tree | a7b532f3f0603084e7fddb8a80e29a5d92fdd964 /dev/dune | |
| parent | 1db19a8f454e0f8c5a60101c87ccd38e0883d530 (diff) | |
[dune] Compile debug and checker printers.
As noted by Gäetan, we didn't compile these. We also provide a recipe
to run `ocamldebug`. Try (after a build):
```
dune exec dev/dune-dbg
(ocd) source dune_db
```
or
```
dune exec dev/dune-dbg checker
(ocd) source checker_dune_db
```
for the checker.
Diffstat (limited to 'dev/dune')
| -rw-r--r-- | dev/dune | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev/dune b/dev/dune new file mode 100644 index 0000000000..fd6c8cf32c --- /dev/null +++ b/dev/dune @@ -0,0 +1,25 @@ +(library + (name top_printers) + (public_name coq.top_printers) + (synopsis "Coq's Debug Printers") + (wrapped false) + (modules :standard \ checker_printers) + (libraries coq.toplevel coq.plugins.ltac)) + +(library + (name checker_printers) + (public_name coq.checker_printers) + (synopsis "Coq's Debug Printers [for the Checker]") + (wrapped false) + (flags :standard -open Checklib) + (modules checker_printers) + (libraries coq.checklib)) + +(rule + (targets dune-dbg) + (deps dune-dbg.in + ../checker/main.bc + ../topbin/coqtop_byte_bin.bc + ; This is not enough as the call to `ocamlfind` will fail :/ + top_printers.cma) + (action (copy dune-dbg.in dune-dbg))) |
