aboutsummaryrefslogtreecommitdiff
path: root/dev/dune
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-10-26 13:30:01 +0200
committerGaëtan Gilbert2018-10-26 13:30:01 +0200
commite2096b9e6048bbab5c6da279bab3c3a719dc237f (patch)
tree6e7fdcbd3b90334bdf0f6723dcee5eb65b5ba729 /dev/dune
parent3b14b406807af5503471d4936dea4d5ed0e0c789 (diff)
parentf8881bcc694644700e20f475b0a36ec740b2547d (diff)
Merge PR #8744: [dune] Compile debug and checker printers.
Diffstat (limited to 'dev/dune')
-rw-r--r--dev/dune25
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)))