forked from Chris00/ocaml-mindstorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_oasis
182 lines (161 loc) · 4.37 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# -*-conf-*-
OASISFormat: 0.4
Name: mindstorm
Version: 0.5.4
Synopsis: Drive Lego Mindstorms bricks from OCaml
Description: This library allows you to communicate with your Lego
Mindstorms brick via bluetooth, enable the motors and retrieve data
from various sensors.
Authors: Christophe Troestler, Julie De Pril, Marc Ducobu, Dany Maslowski
Maintainers: Christophe Troestler <Christophe.Troestler@umons.ac.be>
License: LGPL-2.1 with OCaml linking exception
Homepage: http://forge.ocamlcore.org/projects/ocaml-mindstorm/
Plugins: META (0.4)
OCamlVersion: >= 3.12
Flag has_usb
Description: Whether libusb development files are installed
Default: false
Library mindstorm
Path: src
BuildTools: ocamlbuild
Modules: Mindstorm, Mindstorm_NXT, Mindstorm_EV3
InternalModules: Mindstorm_common
BuildDepends: unix, bytes
CSources: mindstorm_stubs.c
if architecture(amd64)
CCOpt: -DARCH64
if system(linux)
CCLib: -lbluetooth
if flag(has_usb)
CCLib+: -lusb-1.0
CCOpt+: -DHAS_USB
if system(msvc)
CCOpt: /nologo /DWIN32
CCLib: /I"C:\Program Files\Microsoft Platform SDK\Include"
if system(macosx)
CCOpt: -DMACOSX
CCLib: -I /System/Library/Frameworks/IOBluetooth.framework/Headers
Document API
Title: API reference for Mindstorm
Type: OCamlbuild (0.4)
InstallDir: $docdir/api
BuildTools: ocamldoc, ocamlbuild
Format: HTML
Index: doc/intro.txt
XOCamlbuildPath: .
XOCamlbuildLibraries: mindstorm
# Tests:
######################################################################
Executable disconnect
Build$: flag(tests)
Path: tests/
MainIs: disconnect.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable file_list
Build$: flag(tests)
Path: tests/
MainIs: file_list.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable info
Build$: flag(tests)
Path: tests/
MainIs: info.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable keep_alive
Build$: flag(tests)
Path: tests/
MainIs: keep_alive.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable motor
Build$: flag(tests)
Path: tests/
MainIs: motor.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable sensors
Build$: flag(tests)
Path: tests/
MainIs: sensors.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable sound
Build$: flag(tests)
Path: tests/
MainIs: sound.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable upload
Build$: flag(tests)
Path: tests/
MainIs: upload.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable ev3_sound
Build$: flag(tests)
Path: tests/
MainIs: ev3_sound.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
# Examples
######################################################################
Executable roam
Path: examples/
MainIs: roam.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable run_push
Path: examples/
MainIs: run_push.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable test_speed
Path: examples/
MainIs: test_speed.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
Executable test_threads
Path: examples/
MainIs: test_threads.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm, threads
CompiledObject: best
Install: false
Executable wander
Path: examples/
MainIs: wander.ml
BuildTools: ocamlbuild
BuildDepends: mindstorm
CompiledObject: best
Install: false
SourceRepository trunk
Type: git
Location: https://github.com/Chris00/ocaml-mindstorm.git
Browser: https://github.com/Chris00/ocaml-mindstorm