4 messages in com.perforce.jamming[jamming] templated targets
FromSent OnAttachments
Alla...@be.com07 Jun 2000 11:44 
Roesler07 Jun 2000 12:40 
Alla...@be.com07 Jun 2000 13:07 
Dave...@vignette.com07 Jun 2000 14:00 
Subject:[jamming] templated targets
From:Alla...@be.com (Alla@be.com)
Date:06/07/2000 11:44:17 AM
List:com.perforce.jamming

hey folks. I'm curious if anyone has made this work with JAM.

I'm trying to set up some default lists of link libraries and header locations that something in my build tree can use. My goal is to be able to just say something like 'TYPE=driver' in a Jamfile and have it build stuff with the appropriate pre-defined link options and dependencies.

I suppose that I could have it depend on a particular dummy target that sets up the link options and always gets called. I guess that could get slow, tho. Maybe it could be done with a bunch of variables defined at the top that get expanded when appropriate -- macros, I guess. Does my make background show? :)

what do you folks think?