Update build options

- optimized build
- remove options with good default values (static is deprecated,
  optimize is #t by default)
- lower debug level
This commit is contained in:
Dimitri Lozeve 2023-09-08 17:49:23 +02:00
parent 563e7c37f6
commit 6282e80f50

View file

@ -7,7 +7,7 @@
"uniplot/lineplot"))
(def bin-build-spec
'((exe: "uniplot")))
'((optimized-exe: "uniplot")))
(def srcdir
(path-normalize (path-directory (this-source-file))))
@ -16,15 +16,11 @@
(match args
(["lib"]
(make srcdir: srcdir
optimize: #t
debug: 'src
static: #t
debug: 'env
lib-build-spec))
(["bin"]
(make srcdir: srcdir
optimize: #t
debug: #f
static: #t
build-deps: "build-deps-bin"
bin-build-spec))
([]