added release profile and bytecode target for main

This commit is contained in:
Moritz Gmeiner 2024-08-27 17:14:42 +02:00
commit 957783a926
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,10 @@
(executable (executable
(public_name mlox) (public_name mlox)
(libraries Lox) (libraries Lox)
(name main)) (name main)
(modes exe byte))
(env
(release
(ocamlopt_flags
(:standard -O3))))

View file

@ -2,3 +2,9 @@
(name Lox) (name Lox)
(preprocess (preprocess
(pps ppx_deriving.show))) (pps ppx_deriving.show)))
(env
(dev)
(release
(ocamlopt_flags
(:standard -O3))))