foreign-array.asd 2.13 KB
Newer Older
Liam M. Healy's avatar
Liam M. Healy committed
1
2
;; Foreign array system definition
;; Liam Healy 2012-03-23 19:06:29EDT foreign-array.asd
3
;; Time-stamp: <2013-11-28 09:45:51EST foreign-array.asd>
Liam M. Healy's avatar
Liam M. Healy committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

;; Copyright 2012 Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

#+(or allegro ccl ecl lispworks sbcl)
(when (asdf:find-system :static-vectors nil)
  (pushnew :static-vectors *features*))

(asdf:defsystem #:foreign-array
  :name "Foreign-Array"
27
  :description "A library providing access to foreign (i.e., C) arrays."
Liam M. Healy's avatar
Liam M. Healy committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
  :author "Liam M. Healy"
  :license "GPL v3"
  :serial t
  :defsystem-depends-on (#:asdf-system-connections)
  :depends-on (#:grid :cffi #+static-vectors static-vectors)
  :components
  ((:module foreign-array
    :components
    ((:file "types")
     (:file "complex-types" :depends-on ("types"))
     (:file "element-types" :depends-on ("types" "complex-types"))
     (:file "symbol-type")
     (:file "number-conversion"
      :depends-on ("complex-types" "symbol-type"))
     (:file "subclass" :depends-on ("element-types"))
     (:file "foreign-array" :depends-on ("types" "element-types"))
     (:file "vector-matrix" :depends-on ("element-types" "subclass"))
     (:file "methods" :depends-on ("foreign-array" "vector-matrix"))))))

(asdf:defsystem-connection #:foreign-array-tests
  :serial t
  :requires (#:foreign-array #:lisp-unit)
  :components
  ((:module foreign-array
    :components
    ((:module tests
      :components
      ((:file "aref")
       (:file "lisp-unit-extension")
       (:file "compose")))))))
58