diff options
| author | Théo Zimmermann | 2018-09-28 09:48:04 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-09-28 09:48:04 +0200 |
| commit | c7907b6f6e88f9f6a07ba4d0807782b8ffc430d7 (patch) | |
| tree | 1f1e56745b6a13b7961a4181e52bd3d631e4263e | |
| parent | cf3e5a8e02966c9fe80771c531d9e7d24453733a (diff) | |
| parent | 490c048b424ab87cdddfd01d066c1eb0968d49c8 (diff) | |
Merge PR #8568: [dune] [coqide] Turn CoqIDE into a library.
| -rw-r--r-- | ide/dune | 27 |
1 files changed, 17 insertions, 10 deletions
@@ -1,10 +1,11 @@ -(executable - (name idetop) - (public_name coqidetop.opt) - (package coqide) - (modules idetop) - (libraries coq.toplevel coqide.protocol) - (link_flags -linkall)) +(ocamllex utf8_convert config_lexer coq_lex) + +(library + (name core) + (public_name coqide.core) + (wrapped false) + (modules (:standard \ idetop coqide_main)) + (libraries threads str lablgtk2.sourceview2 coq.lib coqide.protocol)) (rule (targets coqide_main.ml) @@ -15,7 +16,13 @@ (name coqide_main) (public_name coqide) (package coqide) - (modules (:standard \ idetop)) - (libraries threads str lablgtk2.sourceview2 coq.lib coqide.protocol)) + (modules coqide_main) + (libraries coqide.core)) -(ocamllex utf8_convert config_lexer coq_lex) +(executable + (name idetop) + (public_name coqidetop.opt) + (package coqide) + (modules idetop) + (libraries coq.toplevel coqide.protocol) + (link_flags -linkall)) |
