(library
  (name chamo_main)
  (public_name chamo.main)
  (wrapped false)
  (modules chamo_main)
  (libraries chamo logs.fmt fmt.tty)
  (flags -g :standard -w -6-7-9-32-33-34-35-36-50-52-26-27 -no-strict-sequence -bin-annot -linkall)
  (preprocess (pps lwt_ppx))
)

(executable
  (package chamo)
  (public_name chamo)
  (modes (best exe))
  (modules chamo)
  (libraries chamo chamo_main)
  (flags -g :standard -w -6-7-9-32-33-34-35-36-50-52-58-26-27 -no-strict-sequence -bin-annot -linkall)
  (preprocess (pps lwt_ppx))
)

(executable
  (package chamo)
  (public_name chamo_byte)
  (modes byte_complete)
  (modules chamo_byte)
  (libraries chamo chamo_byte chamo_main)
  (flags -g :standard -w -6-7-9-32-33-34-35-36-50-52-58-26-27 -no-strict-sequence -bin-annot -linkall)
  (preprocess (pps lwt_ppx))
)

(executable
  (name gen_html_key_bindings)
  (modes byte_complete exe)
  (modules gen_html_key_bindings)
  (libraries chamo)
  (flags -g :standard -w -6-7-9-32-33-34-35-36-50-52-58-26-27 -no-strict-sequence -bin-annot -linkall)
)

(install (section bin)
  (package chamo)
  (files (chamo_byte.bc.exe as chamo.byte))
)

