vendor/ocaml-inotify/src/dune
raw| 1 | (rule |
| 2 | (enabled_if |
| 3 | (= %{ocaml-config:ccomp_type} "msvc")) |
| 4 | (target c_flags.sexp) |
| 5 | (action |
| 6 | (write-file %{target} "()"))) |
| 7 | |
| 8 | (rule |
| 9 | (enabled_if |
| 10 | (<> %{ocaml-config:ccomp_type} "msvc")) |
| 11 | (target c_flags.sexp) |
| 12 | (action |
| 13 | (write-file %{target} "(-Wno-unused-variable)"))) |
| 14 | |
| 15 | (library |
| 16 | (name ocaml_inotify) |
| 17 | (libraries unix) |
| 18 | (foreign_stubs |
| 19 | (language c) |
| 20 | (flags |
| 21 | :standard |
| 22 | (:include c_flags.sexp)) |
| 23 | (names inotify_stubs)) |
| 24 | (flags |
| 25 | (-w -3-6-27-32-33-35-50))) |