[ENet-discuss] VS 2012 project files for enet.lib/enet64.lib

Nuno Silva little.coding.fox at gmail.com
Fri Sep 5 06:28:02 PDT 2014


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 <lsalzman at gmail.com> 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 <little.coding.fox at gmail.com>
> 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 <lsalzman at gmail.com> wrote:
>> > Whatever you want, so long as they're clean and work. :)
>> >
>> >
>> > On Fri, Sep 5, 2014 at 2:23 PM, Nuno Silva <little.coding.fox at gmail.com>
>> > 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 <lsalzman at gmail.com>
>> >> 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
>> >> > ENet-discuss at cubik.org
>> >> > http://lists.cubik.org/mailman/listinfo/enet-discuss
>> >> >
>> >> _______________________________________________
>> >> ENet-discuss mailing list
>> >> ENet-discuss at cubik.org
>> >> http://lists.cubik.org/mailman/listinfo/enet-discuss
>> >
>> >
>> >
>> > _______________________________________________
>> > ENet-discuss mailing list
>> > ENet-discuss at cubik.org
>> > http://lists.cubik.org/mailman/listinfo/enet-discuss
>> >
>>
>> _______________________________________________
>> ENet-discuss mailing list
>> ENet-discuss at cubik.org
>> http://lists.cubik.org/mailman/listinfo/enet-discuss
>>
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: premake4.lua
Type: application/octet-stream
Size: 933 bytes
Desc: not available
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20140905/4738b0ae/attachment-0001.obj>


More information about the ENet-discuss mailing list