File: dune

package info (click to toggle)
ocaml-ctypes 0.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,180 kB
  • sloc: ml: 13,406; ansic: 3,316; makefile: 72
file content (23 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(executable
 (name driver)
 (modules driver)
 (libraries ctypes test_pointers_stubs tests_common))

(rule
 (targets generated_stubs.c)
 (action
  (run %{exe:driver.exe} --c-file %{targets})))

(rule
 (targets generated_bindings.ml)
 (action
  (run %{exe:driver.exe} --ml-file %{targets})))

(library
 (name test_pointers_bindings)
 (wrapped false)
 (foreign_stubs
  (language c)
  (names generated_stubs))
 (modules generated_bindings)
 (libraries ctypes test_functions))