Debian Codegraph @

ide/rocqide/dune

raw
1 ; IDE Server
2 (ocamllex utf8_convert config_lexer rocq_lex)
3
4 (library
5 (name core)
6 (public_name coqide-server.core)
7 (wrapped false)
8 (modules document)
9 (libraries rocq-runtime.boot rocq-runtime.lib))
10
11 (executable
12 (name idetop)
13 (public_name coqidetop)
14 (package coqide-server)
15 (modules idetop)
16 (libraries rocq-runtime.toplevel coqide-server.protocol platform_specific)
17 (link_flags -linkall))
18
19 ; IDE Client, we may want to add the macos_prehook.ml conditionally.
20 (library
21 (name rocqide_gui)
22 (wrapped false)
23 (modules (:standard \ document idetop rocqide_main default_bindings_src gen_gtk_platform
24 shared shared_os_specific))
25 (foreign_stubs
26 (language c)
27 (names rocqide_os_stubs))
28 (libraries coqide-server.protocol coqide-server.core lablgtk3-sourceview3 platform_specific))
29
30 (library
31 (name platform_specific)
32 (wrapped false)
33 (modules shared shared_os_specific)
34 (foreign_stubs
35 (language c)
36 (names shared_os_stubs))
37 )
38
39 (executable
40 (name gen_gtk_platform)
41 (modules gen_gtk_platform)
42 (libraries conf))
43
44 (rule
45 (targets gtk_platform.conf config.ml)
46 (action (run ./gen_gtk_platform.exe)))
47
48 (rule
49 (targets rocqide_os_specific.ml)
50 (action (copy# rocqide_%{read:gtk_platform.conf}.ml.in %{targets})))
51
52 (rule
53 (targets shared_os_specific.ml)
54 (action (copy# shared_%{read:gtk_platform.conf}.ml.in %{targets})))
55
56 (rule
57 (targets rocqide_os_stubs.c)
58 (action (copy rocqide_%{read:gtk_platform.conf}.c.in %{targets})))
59
60 (rule
61 (targets shared_os_stubs.c)
62 (action (copy shared_%{read:gtk_platform.conf}.c.in %{targets})))
63
64 (executable
65 (name rocqide_main)
66 (public_name rocqide)
67 (package rocqide)
68 (modules rocqide_main)
69 (modes exe byte)
70 (libraries rocqide_gui))
71
72 (documentation
73 (package rocqide))
74
75 ; Input-method bindings
76 (executable
77 (name default_bindings_src)
78 (modules default_bindings_src))
79
80 (rule
81 (targets default.bindings)
82 (deps (:gen ./default_bindings_src.exe))
83 (action (run %{gen} %{targets})))
84
85 ; FIXME: we should install those in share/rocqide. We better do this
86 ; once the make-based system has been phased out.
87 (install
88 (section share_root)
89 (package rocqide)
90 (files
91 (coq.png as coq/coq.png)
92 (default.bindings as coq/default.bindings)
93 (coq_style.xml as coq/coq_style.xml)
94 (coq.lang as coq/coq.lang)
95 (coq-ssreflect.lang as coq/coq-ssreflect.lang)))