(require :cmp)

(setf *break-on-signals* 'error)

#+msvc
(setf c::*compile-in-constants* t)

(defparameter *all-wrappers* (append (loop :for i :from 1 :to 12 :collect (format nil "all-wrappers-~D" i))
                                     (loop :for i :from 1 :to 2 :collect (format nil "all-wrappers-webengine-~D" i))))

(defparameter *lisp-files*   (append '("x" "package" "ini"
                                       "enums1" "enums2" "enums3" "enums4" "enums5"
                                       "special-extensions")
                                     *all-wrappers*))

(c:build-static-library "ini_eql5"
                        :lisp-files (mapcar (lambda (file)
                                              (format nil "lisp/~A.~A" file #+msvc "obj" #-msvc "o"))
                                            *lisp-files*)
                        :init-name "ini_EQL")
