aboutsummaryrefslogtreecommitdiff
path: root/checker/dune
blob: 5aff9211d7266bfa4941081e3693603d68113944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
(rule (copy %{project_root}/kernel/names.ml names.ml))
(rule (copy %{project_root}/kernel/names.mli names.mli))
(rule (copy %{project_root}/kernel/esubst.ml esubst.ml))
(rule (copy %{project_root}/kernel/esubst.mli esubst.mli))

; Careful with bug https://github.com/ocaml/odoc/issues/148
;
; If we don't pack checker we will have a problem here due to
; duplicate module names in the whole build.
(library
 (name checklib)
 (public_name coq.checklib)
 (synopsis "Coq's Standalone Proof Checker")
 (modules :standard \ coqchk votour)
 (modules_without_implementation cic)
 (wrapped true)
 (libraries coq.lib))

(executable
 (name coqchk)
 (public_name coqchk)
 (package coq)
 (modules coqchk)
 (flags :standard -open Checklib)
 (libraries coq.checklib))

(executable
 (name votour)
 (public_name votour)
 (package coq)
 (modules votour)
 (flags :standard -open Checklib)
 (libraries coq.checklib))