forked from ocaml-batteries-team/batteries-included
-
Notifications
You must be signed in to change notification settings - Fork 0
/
META.in
60 lines (56 loc) · 2.26 KB
/
META.in
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
58
59
60
name="batteries"
version="@VERSION@"
description="Batteries Included, the stdlib of choice"
requires="unix,num,bigarray,str,findlib,camomile"
requires(mt)="unix,num,bigarray,threads,str,findlib,camomile"
archive(toploop)="batteries_uni.cma batteries_help.cmo"
archive(toploop,mt)="batteries.cma batteries_help.cmo"
archive(byte,mt) ="batteries.cma"
archive(byte) ="batteries_uni.cma"
archive(native,mt)="batteries.cmxa"
archive(native)="batteries_uni.cmxa"
package "pa_string" (
description = "pseudo-native Unicode strings (container)"
version = "@VERSION@"
package "syntax" (
requires="camlp4,estring"
description = "pseudo-native Unicode strings (syntax extension)"
version = "@VERSION@"
archive(syntax, preprocessor) = "pa_strings.cma"
archive(syntax, toploop) = "pa_strings.cma"
)
)
package "pa_comprehension" (
description = "comprehension expressions (container)"
version = "@VERSION@"
package "syntax" (
requires = "camlp4"
description = "comprehension expressions (syntax extension)"
version = "@VERSION@"
archive(syntax, preprocessor) = "pa_comprehension.cmo"
archive(syntax, toploop) = "pa_comprehension.cmo"
)
)
package "pa_llist" (
descriptions = "lazy list syntax (container)"
version = "@VERSION@"
package "syntax" (
requires = "camlp4"
description = "lazy list syntax (syntax extension)"
version = "@VERSION@"
archive(syntax, preprocessor) = "pa_llist.cmo"
archive(syntax, toploop) = "pa_llist.cmo"
)
)
package "syntax" (
version = "@VERSION@"
description = "Standard extensions to the OCaml language, full package"
# the direct approach (requiring the .syntax packages) doesn't work:
# you get "When using -syntax, the META variable 'preprocessor' must
# be set" even when we require camlp4 or set preprocessor here, so
# we use a brute-force approach
requires = "camlp4, estring"
requires(toploop) = "camlp4, estring, batteries"
archive(syntax, preprocessor) = "pa_strings.cma pa_comprehension.cmo pa_llist.cmo"
archive(syntax, toploop) = "pa_strings.cma pa_comprehension.cmo pa_llist"
)