-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.lisp
More file actions
23 lines (18 loc) · 753 Bytes
/
Copy pathbuild.lisp
File metadata and controls
23 lines (18 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(load "~/redbuild/v3/redbuild.lisp")
(load "~/redbuild/packaging/packager.lisp")
(redbuild:set-global-target (redbuild:native))
(redbuild:make "~/redlib" "cross")
(defvar *beyond-lib* t)
(defvar *beyond-interpreter* t)
(redbuild:build-dep "~/beyond")
(redbuild:set-tester "examples/scripting.c")
(redbuild:quick-build (redbuild:make-instance `redbuild:redmod
:name "three2d"
:type (redbuild:dynlib)
:target (redbuild:dyn-target)
:libs (list (redbuild:local-lib "beyond" :lib "imaginal.a"))
:srcs (redbuild:dynsrc "obj.c" "render.c" "shaders.c" "mesh.c" "geolisp/geolisp.c")
:flags (list "-g")
) :add-dependencies t :run t :debug-symbols t :success (lambda ()
(redbuild:emit-compile-commands)
))