File: dune-project

package info (click to toggle)
cppo 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 588 kB
  • sloc: ml: 2,133; makefile: 54; sh: 11
file content (45 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download
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 <martin@mjambon.com>"
 "Yishuai Li <yishuai@upenn.edu>")
(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).
"))