-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path_oasis
More file actions
73 lines (63 loc) · 2.34 KB
/
_oasis
File metadata and controls
73 lines (63 loc) · 2.34 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# +-------------------------------------------------------------------+
# | Package parameters |
# +-------------------------------------------------------------------+
OASISFormat: 0.3
OCamlVersion: >= 3.12
Name: optcomp
Version: 1.4
LicenseFile: LICENSE
License: BSD3
Authors: Jérémie Dimino
Homepage: http://optcomp.forge.ocamlcore.org/
BuildTools: ocamlbuild
Plugins: DevFiles (0.3), META (0.3)
XDevFilesEnableMakefile: false
Synopsis: Optional compilation with cpp-like directives
Description:
Optcomp is a syntax extension which handles cpp-like directives in
ocaml source files. It uses camlp4 so it is more OCaml friendly.
# +-------------------------------------------------------------------+
# | The syntax extension |
# +-------------------------------------------------------------------+
Library optcomp
BuildDepends: camlp4, camlp4.quotations.o
XMETADescription: Optional compilation with cpp-like directives
XMETARequires: camlp4
XMETAType: syntax
Path: src
Install: true
Modules: Pa_optcomp
# +-------------------------------------------------------------------+
# | The standalone versions |
# +-------------------------------------------------------------------+
Executable "optcomp-o"
Install: true
Path: src
CompiledObject: best
MainIs: optcomp_o.ml
BuildDepends: camlp4.lib, optcomp
Executable "optcomp-r"
Install: true
Path: src
CompiledObject: best
MainIs: optcomp_r.ml
BuildDepends: camlp4.lib, optcomp
# +-------------------------------------------------------------------+
# | Doc |
# +-------------------------------------------------------------------+
Document "optcomp-api"
Title: API reference for optcomp
Type: ocamlbuild (0.3)
Install: true
InstallDir: $htmldir/api
DataFiles: style.css
BuildTools: ocamldoc
XOCamlbuildPath: src
XOCamlbuildLibraries: optcomp
# +-------------------------------------------------------------------+
# | Misc |
# +-------------------------------------------------------------------+
SourceRepository head
Type: git
Location: https://github.com/diml/optcomp.git
Browser: https://github.com/diml/optcomp