-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdune-project
45 lines (38 loc) · 1.07 KB
/
dune-project
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
(lang dune 2.0)
(name cppo)
(version 1.8.0)
(generate_opam_files true)
(source (github ocaml-community/cppo))
(license BSD-3-Clause)
(authors "Martin Jambon")
(maintainers
"Martin Jambon <[email protected]>"
"Yishuai Li <[email protected]>")
(documentation "https://ocaml-community.github.io/cppo")
(package
(name cppo)
(depends
(ocaml (>= 4.02.3))
(dune (>= 2.0))
base-unix)
(synopsis "Code preprocessor like cpp for OCaml")
(description "Cppo is an equivalent of the C preprocessor for OCaml programs.
It allows the definition of simple macros and file inclusion.
Cppo is:
* more OCaml-friendly than cpp
* easy to learn without consulting a manual
* reasonably fast
* simple to install and to maintain
"))
(package
(name cppo_ocamlbuild)
(depends
ocaml
(dune (>= 2.0))
ocamlbuild
ocamlfind)
(synopsis "Plugin to use cppo with ocamlbuild")
(description "This ocamlbuild plugin lets you use cppo in ocamlbuild projects.
To use it, you can call ocamlbuild with the argument `-plugin-tag
package(cppo_ocamlbuild)` (only since ocaml 4.01 and cppo >= 0.9.4).
"))