26.01.2012, 08:18, "Branimir Karadzic" <branimirkarad...@gmail.com>:
> Hi Jason,
>
> Didn't check new premake yet, just comment about premake4, in case you 
> haven't consider it. We're working with bunch of platforms, and one of the 
> issues I ran into was setting different GCC compilers. I figured out the way 
> to specify it thru 'newoption'. This works pretty well, but it would be nice 
> if there is way to script these settings in the way that can be shared with 
> others. For example Qt has mkspecs where defaults for different compilers are 
> set and qmake scripts use it for building. Anyhow snippet of how I'm setting 
> GCC "flavor" in premake script is attached below.
>
> Branimir

FWIW, I'm using "newgcctoolchain" function from [1], and pass --platform option 
when generating makefiles for selected platform.

[1] http://industriousone.com/topic/newplatform

-- 
Regards,
Konstantin

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Premake-users mailing list
Premake-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/premake-users

Reply via email to