[jamming] trouble with rule that generates a .cpp file
Joshua ChaitinPollak
jpollak at kivasystems.com
Wed Jul 11 08:13:31 PDT 2007
On Jul 5, 2007, at 8:00 PM, Ingo Weinhold wrote:
> LOCATE on [ FGristFiles revision.cpp ] = $(TOP) ;
>
> This should work, though it's a little ugly. I'd recommend to build a
> static library from revision.cpp instead and link your executables
> against
> this library. Note, that just as Main the Library rule also adds
> grist to
Thanks for this tip, after I had written my previous email I created
a revision static library, but I was still having trouble until I
received your email and tried adding LOCATE to the rule, and now
everything works correctly. Thanks!
--
Joshua ChaitinPollak
Software Engineer
Kiva Systems
More information about the jamming
mailing list