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
|
(library
(name opus)
(public_name opus)
(synopsis "OCaml bindings for libopus")
(libraries bigarray ogg)
(modules opus)
(foreign_stubs
(language c)
(names opus_stubs)
(extra_deps "config.h")
(flags
(:include c_flags.sexp)))
(c_library_flags
(:include c_library_flags.sexp)))
(library
(name opus_decoder)
(public_name opus.decoder)
(synopsis "Opus decoder for the ogg-decoder library")
(libraries ogg.decoder opus)
(modules opus_decoder))
(rule
(targets config.h c_flags.sexp c_library_flags.sexp)
(action
(run ./config/discover.exe)))
|