Re: More on Actions, routes and builders in general

Lars Ivar Igesund <[email protected]> Mon, 14 Jun 2004 22:59:19 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
In the d.aap module, the only difference between the object,libobject 
and dllobject out types were their build attribute. What I did there, 
was to have an action d_compile that did the main work, and three 
compiles; one for each out type that only added the buildaction 
attribute before executing d_compile. Do I still have to do it this way, 
or can I find out what the outtype of action should be ($OUTTYPE) so I 
can add the correct buildaction based on that variable?

Something like:

@if OUTTYPE == "libobject":
	:attr {buildaction = buildlib} $target


Lars Ivar Igesund



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND