Re: ASDF: alternative system configurations

james anderson <[email protected]>
Newsgroups gmane.lisp.cclan.general
Organization nil
Message-ID <[email protected]>
i'd be curious about this too. it's one of the things which impairs
translating my system descriptions to asdf.


Nikodemus Siivola wrote:
> 
> How should I deal with alternative system configurations with ASDF? My
> system can function both with or without CL-SDL, but the system is slightly
> different when it is not present:
> 
>  window.lisp <-- needs SDL
>  render.lisp <-- needs window.lisp if we have SDL
> 
> Currently I have solved this by having two alternative system definitions,
> detecting the presence of SDL before calling ASDF, and then loading the
> correct system. As far as solutions go it works, but is butt ugly.
> 
> Is there a way to handle this with a single system-definition?
> 
> Cheers,
> 
>   -- Nikodemus


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.