i believe it started because on mac had to add extries that expanded to "-framework xxx -framework yyy ... " which the linking table didnt support so I had to resort to strings. then i used that code as i ported. actually lua tables seemed pretty crappy to me at the time, i coudlnt even see how to append two tables togehter without writing a loop so using a string was easier an actually worked. but im certainly no lua expert
---- Original message ---- >Date: Thu, 1 Jan 2009 15:24:28 -0200 >From: "Carlos Pita" <[email protected]> >Subject: Re: [CM] cm with chicken >To: "Heinrich Taube" <[email protected]> >Cc: cm list <[email protected]> > >Hi Heinrich, > >I'm writing a number of changes to premake.lua, it's almost done but I >want you to clarify me a point before sending the modified version: > >Why aren't you listing the needed libraries as different elements of >the links table instead of concatenating them in a long string with >the platform specific -l / -framework flags? > >For example: why " -l pthread -l rt" instead of { "pthread", "rt" } > >Regards >-Carlos > >On Thu, Jan 1, 2009 at 1:33 PM, Heinrich Taube <[email protected]> wrote: >> ok once i check in the new premake.lua please hack it to do what you want >> and then send it back to me, im happy to include the mods if they dont break >> the other build options (there arent that many of them) >> >> >> On Jan 1, 2009, at 9:05 AM, Carlos Pita wrote: >> >>> , I'm writing an archlinux package for cm and it's very >>> difficult to specify package dependencies the way cm expects them now. >> >> > >_______________________________________________ >Cmdist mailing list >[email protected] >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist _______________________________________________ Cmdist mailing list [email protected] http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
