-
Notifications
You must be signed in to change notification settings - Fork 1
/
dune
42 lines (35 loc) · 904 Bytes
/
dune
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
35
36
37
38
39
40
41
42
(env
(dev
; TODO :standard is
; -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs
(flags (-w +A-4-6-29-44-45-52-70 -warn-error +a)))
(release
(flags (:standard -O3))))
(dirs :standard \ external)
(executables
(names main efuns_client)
(libraries
; system libs
str unix
; efuns libs
efuns_commons
efuns_core
; TODO: should not need all of that
efuns_graphics efuns_graphics_gtk_cairo2
efuns_features ;efuns_ipc
efuns_major_modes efuns_minor_modes
efuns_prog_modes efuns_text_modes
efuns_config
; pfff libs
efuns_pfff_modes
)
; need that, otherwise all the [@@interactive] are not executed
(link_flags (-linkall))
; for ocamldebug
(modes native byte)
)
(install
(package efuns)
(section bin)
(files (main.exe as efuns) (efuns_client.exe as efuns_client))
)