65 lines
2.1 KiB
Common Lisp
65 lines
2.1 KiB
Common Lisp
#|
|
|
This file is a part of stoe project.
|
|
Copyright (c) 2015 Renaud Casenave-Péré (renaud@casenave-pere.fr)
|
|
|#
|
|
|
|
#|
|
|
SaintOEngine - A 3d engine in common-lisp
|
|
|
|
Author: Renaud Casenave-Péré (renaud@casenave-pere.fr)
|
|
|#
|
|
|
|
(in-package :cl-user)
|
|
(defpackage stoe-asd
|
|
(:use :cl :asdf))
|
|
(in-package :stoe-asd)
|
|
|
|
;; (pushnew :stoe-foreign-assets *features*) ; classimp is out-of-date
|
|
(pushnew :stoe-debug *features*)
|
|
|
|
(defsystem stoe
|
|
:version (:read-file-form "VERSION")
|
|
:author "Renaud Casenave-Péré"
|
|
:license "GPL3"
|
|
:description "SaintOEngine - A 3d engine in common-lisp"
|
|
:long-description
|
|
#.(with-open-file (stream (merge-pathnames
|
|
#p"README.md"
|
|
(or *load-pathname* *compile-file-pathname*))
|
|
:if-does-not-exist nil
|
|
:direction :input)
|
|
(when stream
|
|
(let ((seq (make-array (file-length stream)
|
|
:element-type 'character
|
|
:fill-pointer t)))
|
|
(setf (fill-pointer seq) (read-sequence seq stream))
|
|
seq)))
|
|
:defsystem-depends-on (:asdf-package-system)
|
|
:class :package-inferred-system
|
|
:around-compile (lambda (thunk)
|
|
#+stoe-debug
|
|
(proclaim '(optimize (debug 3) (safety 3) (speed 0)))
|
|
(funcall thunk))
|
|
:depends-on ("alexandria"
|
|
"trivial-garbage"
|
|
"bordeaux-threads"
|
|
"blackbird"
|
|
#+stoe-foreign-assets
|
|
;; "classimp"
|
|
"closer-mop"
|
|
"cl-vulkan"
|
|
"stoe/core/all"
|
|
"stoe/maths/all"
|
|
"stoe/engine/all")
|
|
:components ((:file "stoe"))
|
|
:in-order-to ((test-op (load-op stoe/test))))
|
|
|
|
(defsystem stoe/test
|
|
:depends-on ("prove" "stoe" "stoe/test/all"))
|
|
|
|
(register-system-packages "stoe/maths/all" '(:maths))
|
|
(register-system-packages "stoe/core/all" '(:core))
|
|
(register-system-packages "stoe/engine/all" '(:engine))
|
|
(register-system-packages "stoe/test/all" '(:stoe/test))
|
|
|
|
(register-system-packages "cl-vulkan" '(:vk))
|