That's what :defsystem-depends-on is for.
Please let me know if you don't find it adequately documented in the manual...
Sent from my iPad
On Sep 24, 2015, at 19:41, Robert Dodier robert.dodier@gmail.com wrote:
On Wed, Sep 23, 2015 at 2:39 PM, Faré fahree@gmail.com wrote:
What you really need to do is:
Thanks, I will take a look at that. It is working well enough for the moment, but I will circle back later to polish it up.
I have a question now about how to ensure that the :maxima-file component type is defined before it is used. Let's say I have foo.asd which has :maxima-file components. Ideally I would like to simply say (asdf:load-system :foo) without having to load the maxima-file definition before. It occurred to me to put (defsystem foo :depends-on ("maxima-file") ...) and move the :maxima-file stuff into another system. But that doesn't work, of course, because :maxima-file is not yet defined before the :foo system is parsed, and I get an error about :maxima-file being unrecognized.
I can put (load-system :maxima-file) before (defsystem foo ...) and then it works OK. I'm happy that it works, but it seems a little messy to me -- there are now two kinds of dependencies, one kind that has to be loaded before the defsystem, and the other after ...
It's not a big deal, but can anyone think of a way to move the maxima-file dependency back into the :depends-on list?
Thanks for your help,
Robert Dodier