Oh, and when you have the time please do let me know if it works well for you. Regardless, it's not hard to modify!
On Fri, Sep 5, 2014 at 2:28 PM, Nuno Silva <[email protected]> wrote: > Oh, sorry, I didn't notice that while I was editing the project files > (like I said, I'm on OSX). Here's the fixed premake file. > > On Fri, Sep 5, 2014 at 2:22 PM, Lee Salzman <[email protected]> wrote: >> Can you fix it to define ENET_DLL for the shared library case? >> >> >> On Fri, Sep 5, 2014 at 4:03 PM, Nuno Silva <[email protected]> >> wrote: >>> >>> Here's a premake file I made pretty quickly. If you're not familiar >>> with Premake, it's a lua-based makefile generator. I tested this on >>> OSX 'cos I'm at work right now, but it works with xcode and gmake so >>> far. I doubt it won't work on windows either. >>> >>> To use it, just run premake on the folder the premake4.lua file is like >>> this: >>> >>> GNU Make: >>> premake4 gmake >>> >>> XCode: >>> premake4 xcode4 >>> >>> VS2012 >>> premake4 vs2012 >>> >>> You have other platforms too, just run premake4 without options and >>> it'll show you the platforms it can generate makefiles for. >>> >>> This makefile makes both x86, x64, static, and dynamic (all >>> combinations possible). Debug builds will have a "d" suffix, and >>> 64-bit builds will have "64"/"64d" suffixes. >>> >>> On Fri, Sep 5, 2014 at 12:26 PM, Lee Salzman <[email protected]> wrote: >>> > Whatever you want, so long as they're clean and work. :) >>> > >>> > >>> > On Fri, Sep 5, 2014 at 2:23 PM, Nuno Silva <[email protected]> >>> > wrote: >>> >> >>> >> May I suggest distributing Premake files too? They're easy to make, >>> >> especially for enet. >>> >> >>> >> On Fri, Sep 5, 2014 at 12:12 PM, Lee Salzman <[email protected]> >>> >> wrote: >>> >> > Does anyone have handy clean project files for VS 2012 to build 32 >>> >> > bit >>> >> > static libs, and possibly also dlls? >>> >> > >>> >> > I've been meaning to make some and put them in the next release, but >>> >> > I've >>> >> > been so busy lately I haven't had time to do this. >>> >> > >>> >> > _______________________________________________ >>> >> > ENet-discuss mailing list >>> >> > [email protected] >>> >> > http://lists.cubik.org/mailman/listinfo/enet-discuss >>> >> > >>> >> _______________________________________________ >>> >> ENet-discuss mailing list >>> >> [email protected] >>> >> http://lists.cubik.org/mailman/listinfo/enet-discuss >>> > >>> > >>> > >>> > _______________________________________________ >>> > ENet-discuss mailing list >>> > [email protected] >>> > http://lists.cubik.org/mailman/listinfo/enet-discuss >>> > >>> >>> _______________________________________________ >>> ENet-discuss mailing list >>> [email protected] >>> http://lists.cubik.org/mailman/listinfo/enet-discuss >>> >> >> >> _______________________________________________ >> ENet-discuss mailing list >> [email protected] >> http://lists.cubik.org/mailman/listinfo/enet-discuss >> _______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
