aboutsummaryrefslogtreecommitdiff
path: root/config/dune
blob: cf2bc71363c8639d7b10179dc7fd5fb2571311fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 (env_var COQ_CONFIGURE_PREFIX))
 (action (chdir %{project_root} (run %{ocaml} configure.ml -native-compiler no))))