11 Feb 2004 09:07
Module-Level Dependencies in ASDF
James Bielman <jamesjb <at> tailrecursion.com>
2004-02-11 08:07:43 GMT
2004-02-11 08:07:43 GMT
Hi,
I'm trying to split up the system definition for a fairly large project
using ASDF that makes rather heavy use of macros. What I would like to
be able to do is something like:
(defsystem :some-system
:components
(
;; This module defines functions and macros used by modules
;; that depend on it. When this module is recompiled, its
;; dependents will also need to be recompiled.
(:module "base" :components ((:file "package")
(:file "macros")))
;; This module makes use of macros defined in BASE.
(:module "main" :components ((:file "main"))
:depends-on ("base"))))
but this does not cause 'base.lisp' to be recompiled when 'macros.lisp'
is recompiled.
I messed around a bit with adding :IN-ORDER-TO to the module definitions
but haven't found anything yet that works.
Also, I think this same issue applies to dependences between systems as
well as modules; I know I started defining things in separate .asd files
until I found they weren't recompiling and switched to using :MODULE.
James
(Continue reading)
RSS Feed