45 lines
762 B
Plaintext
45 lines
762 B
Plaintext
(env
|
|
(dev (flags (:standard -warn-error -A))))
|
|
|
|
(library (name store)
|
|
(libraries
|
|
fmt
|
|
irmin.unix
|
|
irmin-git.unix
|
|
irmin-graphql.unix
|
|
lwt
|
|
lwt.unix
|
|
)
|
|
(modules store)
|
|
)
|
|
|
|
|
|
(executables
|
|
(names oplevel)
|
|
(modules oplevel secrets perfgraph ogui glfw_types)
|
|
(libraries
|
|
lwt
|
|
store
|
|
;;memtrace
|
|
glfw-ocaml
|
|
tgls
|
|
tgls.tgles2
|
|
graphv_gles2_native
|
|
gg
|
|
irmin-git
|
|
compiler-libs.toplevel
|
|
re
|
|
lwt_react
|
|
)
|
|
|
|
;; none of this makes backtraces work
|
|
;;(flags (-g))
|
|
;;(link_flags (-linkall -g))
|
|
;;(ocamlopt_flags (:standard -O3 -unboxed-types))
|
|
;;(ocamlc_flags (:standard -verbose -g))
|
|
|
|
;;(modes byte_complete) ;; this causes backtraces to not work, but somehow includes the implementation of Toploop
|
|
(preprocess
|
|
(pps ppx_irmin))
|
|
)
|