forked from HaxeFoundation/haxe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdune
More file actions
57 lines (52 loc) · 1.37 KB
/
dune
File metadata and controls
57 lines (52 loc) · 1.37 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
(include_subdirs unqualified)
(env
(_
; 3 - Remove deprecation warnings
; 6 - Label omitted in function application
; 9 - Missing record field in a record pattern
; 23 - Useless record `with` clause (all fields already listed)
; 27 - Unused var (strict)
; 30 - Duplicate field label (e.g. timer_ctx in request_scope and context)
; 32 - Unused value declaration
; 36 - Unused `as super`
; 50 - Unexpected docstring
(flags (:standard -w -3 -w -6 -w -9 -w -23 -w -27 -w -30 -w -32 -w -36 -w -50 -thread))
)
)
(library
(name haxe)
(libraries
extc extproc extlib_leftovers mbedtls neko objsize pcre2 camlp-streams swflib ziplib
json
unix ipaddr str bigarray threads dynlink
xml-light extlib sha terminal_size
luv
domainslib saturn thread-local-storage dynamic_gc
)
(modules (:standard \ haxe prebuild))
(preprocess (per_module
((pps sedlex.ppx) json lexer)
((pps ppx_parser) grammar)
))
(wrapped false)
)
(executable
(name prebuild)
(libraries extlib json unix)
(modules prebuild)
)
(rule
(deps (env_var STATICLINK) (env_var LIB_PARAMS))
(targets libs.sexp)
(action (with-stdout-to libs.sexp (run ./prebuild.exe libparams %{system})))
)
(executable
(name haxe)
(public_name haxe)
(package haxe)
(libraries haxe)
(modules haxe)
(link_flags (:include libs.sexp))
; Uncomment to enable bytecode output for ocamldebug support
; (modes byte)
)