Switch to Dune build system

master
Fabien Freling 2018-12-26 15:32:23 +01:00
parent 4d1be1578f
commit 4cb229e472
4 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,5 @@
all:
ocamlbuild -use-ocamlfind -I src oboy.byte
debug:
ocamlbuild -use-ocamlfind -I src oboy.d.byte
dune build src/oboy.exe
check:
ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --

3
dune Normal file
View File

@ -0,0 +1,3 @@
(env
(dev
(flags (:standard -warn-error -A))))

1
dune-project Normal file
View File

@ -0,0 +1 @@
(lang dune 1.6)

3
src/dune Normal file
View File

@ -0,0 +1,3 @@
(executable
(name oboy)
(libraries threads))