diff options
| author | Emilio Jesus Gallego Arias | 2018-09-27 00:06:52 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-09-27 00:51:18 +0200 |
| commit | 490c048b424ab87cdddfd01d066c1eb0968d49c8 (patch) | |
| tree | f3b4bd23e2d4505280af2b43d837abba86747b76 /ide | |
| parent | f49928874b51458fb67e89618bb350ae2f3529e4 (diff) | |
[dune] [coqide] Turn CoqIDE into a library.
As noted by @anton-trunov, this is more useful for development and
debug.
Diffstat (limited to 'ide')
| -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)) |
