Skip to content

Commit

Permalink
Adding dune root parameters to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Nov 30, 2023
1 parent 3e5eb6e commit 7bf2e34
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(env
(_ (flags (:standard -warn-error -69-67-37 -w +a -g))
(link_flags (:standard -g))
(js_of_ocaml (flags (:standard --no-inline --debug-info --source-map)) (link_flags (:standard)))
)
)

2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(lang dune 1.1)
(lang dune 3.7 )
12 changes: 6 additions & 6 deletions gui/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(modules Common)
(libraries js_of_ocaml-lwt)
(preprocess (pps js_of_ocaml-ppx tyxml-ppx))
(flags :standard -w +a
(flags :standard
-open Js_of_ocaml))

(executable
Expand All @@ -12,7 +12,7 @@
(modules KaSimWorker)
(libraries kappa_js_lib kappa_json_api)
(preprocess (pps js_of_ocaml-ppx tyxml-ppx))
(flags :standard -w +a
(flags :standard
-open Js_of_ocaml
-open Kappa_js_lib
-open Kappa_json_api))
Expand All @@ -23,7 +23,7 @@
(modules KaSaWorker)
(libraries kappa_js_lib kappa_kasa_export)
(preprocess (pps js_of_ocaml-ppx tyxml-ppx))
(flags :standard -w +a
(flags :standard
-open Js_of_ocaml
-open Kappa_js_lib
-open Kappa_kasa_export))
Expand All @@ -34,7 +34,7 @@
(modules KaStorWorker)
(libraries kappa_js_lib kappa_cflow)
(preprocess (pps js_of_ocaml-ppx tyxml-ppx))
(flags :standard -w +a
(flags :standard
-open Js_of_ocaml
-open Kappa_js_lib
-open Kappa_cflow))
Expand All @@ -45,15 +45,15 @@
(modules KaMoHaWorker)
(libraries kappa_js_lib kappa_grammar)
(preprocess (pps js_of_ocaml-ppx tyxml-ppx))
(flags :standard -w +a))
(flags :standard ))

(executable
(name JsSim)
(modes js)
(modules :standard \ Common KaSimWorker KaSaWorker KaStorWorker KaMoHaWorker)
(libraries js_of_ocaml-tyxml lwt_react kappa_js_lib kappa_json_api kappa_parameters)
(preprocess (pps js_of_ocaml-ppx tyxml-ppx))
(flags :standard -w +a
(flags :standard
-open Js_of_ocaml
-open Js_of_ocaml_tyxml
-open Kappa_js_lib
Expand Down

0 comments on commit 7bf2e34

Please sign in to comment.