-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path_oasis
99 lines (86 loc) · 2.68 KB
/
_oasis
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ------------------------------------------------------------
# Package parameters
# ------------------------------------------------------------
OASISFormat: 0.3
Name: msgpack
Version: 1.0.0
Authors: MIZUNO Hiroki
License: MIT
Plugins: META (0.3), DevFiles (0.3)
Homepage: http://msgpack.org/
Synopsis: Msgpack library for Objective Caml
Description:
MessagePack is an efficient binary serialization format.
If meta_conv is installed, conv module will be installed.
BuildTools: ocamlbuild, camlp4
# ------------------------------------------------------------
# Flags
# ------------------------------------------------------------
Flag all
Description: build and install everything
Default: false
Flag core
Description: Build the core library
Default: true
Flag conv
Description: Build the meta_conv library
Default$: flag(all)
#------------------------------------------------------------
# Libraries
#------------------------------------------------------------
Library msgpack
Build$: flag(core) || flag(all)
Install$: flag(core) || flag(all)
Path: lib/core
Modules: Msgpack
InternalModules: HList, MsgpackCore, Pack,Serialize, Config, Base
CompiledObject: best
# supress warning for Coq-extracted code
ByteOpt: -w +a-27-39-4 -annot
NativeOpt: -w +a-27-39-4 -annot
BuildDepends: extlib, num
Library msgpack_conv
Build$: flag(conv) || flag(all)
Install$: flag(conv) || flag(all)
Path: lib/conv
Modules: Msgpack_conv
InternalModules: Encode, Decode
CompiledObject: best
ByteOpt: -w +a -annot
NativeOpt: -w +a -annot
# install as msgpack.conv
FindlibName: conv
FindlibParent: msgpack
BuildDepends: meta_conv, msgpack
# ------------------------------------------------------------
# Test
# ------------------------------------------------------------
Executable test_core
Path: test/core
Build$: flag(tests) && (flag(all) || flag(core))
Install: false
MainIs: main.ml
BuildDepends: msgpack, oUnit
CompiledObject: best
Executable test_conv
Path: test/conv
Build$: flag(tests) && (flag(all) || flag(conv))
Install: false
MainIs: main.ml
BuildDepends: msgpack, msgpack.conv, oUnit, meta_conv.syntax
CompiledObject: best
Test core
Run$: flag(tests) && (flag(all) || flag(core))
Command: $test_core
TestTools: test_core
Test conv
Run$: flag(tests) && (flag(all) || flag(conv))
Command: $test_conv
TestTools: test_conv
# ------------------------------------------------------------
# misc
# ------------------------------------------------------------
SourceRepository head
Type: git
Location: https://github.com/msgpack/msgpack-ocaml.git
Browser: https://github.com/msgpack/msgpack-ocaml