List Info

Thread: Re: trouble with rule that generates a .cpp file




Re: trouble with rule that generates a .cpp file
country flaguser name
United States
2007-07-11 10:13:31
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

_______________________________________________
jamming mailing list  -  jammingperforce.com
http://maillist.perforce.com/mailman/listinfo/jamming

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )