(library
 (name utils)
 (modules utils)
 (libraries brr)
 (preprocess
  (pps js_of_ocaml-ppx)))

(library
 (name post_form)
 (modules post_form)
 (libraries js_of_ocaml brr utils)
 (preprocess
  (pps js_of_ocaml-ppx)))

(library
 (name pretty_post)
 (modules pretty_post)
 (libraries js_of_ocaml brr unix utils)
 (preprocess
  (pps js_of_ocaml-ppx)))

(library
 (name map)
 (modules map)
 (libraries js_of_ocaml brr leaflet utils)
 (js_of_ocaml
  (javascript_files leaflet/leaflet.js))
 (preprocess
  (pps js_of_ocaml-ppx)))

(executable
 (name catalog)
 (modules catalog)
 (libraries js_of_ocaml brr pretty_post)
 (modes js)
 (preprocess
  (pps js_of_ocaml-ppx)))

(executable
 (name babillard)
 (modules babillard)
 (libraries js_of_ocaml brr map post_form pretty_post leaflet utils)
 (modes js)
 (preprocess
  (pps js_of_ocaml-ppx)))

(executable
 (name thread)
 (modules thread)
 (libraries js_of_ocaml brr post_form pretty_post)
 (modes js)
 (preprocess
  (pps js_of_ocaml-ppx)))
