<div dir="ltr">Can you fix it to define ENET_DLL for the shared library case?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 4:03 PM, Nuno Silva <span dir="ltr"><<a href="mailto:little.coding.fox@gmail.com" target="_blank">little.coding.fox@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's a premake file I made pretty quickly. If you're not familiar<br>
with Premake, it's a lua-based makefile generator. I tested this on<br>
OSX 'cos I'm at work right now, but it works with xcode and gmake so<br>
far. I doubt it won't work on windows either.<br>
<br>
To use it, just run premake on the folder the premake4.lua file is like this:<br>
<br>
GNU Make:<br>
premake4 gmake<br>
<br>
XCode:<br>
premake4 xcode4<br>
<br>
VS2012<br>
premake4 vs2012<br>
<br>
You have other platforms too, just run premake4 without options and<br>
it'll show you the platforms it can generate makefiles for.<br>
<br>
This makefile makes both x86, x64, static, and dynamic (all<br>
combinations possible). Debug builds will have a "d" suffix, and<br>
64-bit builds will have "64"/"64d" suffixes.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Sep 5, 2014 at 12:26 PM, Lee Salzman <<a href="mailto:lsalzman@gmail.com">lsalzman@gmail.com</a>> wrote:<br>
> Whatever you want, so long as they're clean and work. :)<br>
><br>
><br>
> On Fri, Sep 5, 2014 at 2:23 PM, Nuno Silva <<a href="mailto:little.coding.fox@gmail.com">little.coding.fox@gmail.com</a>><br>
> wrote:<br>
>><br>
>> May I suggest distributing Premake files too? They're easy to make,<br>
>> especially for enet.<br>
>><br>
>> On Fri, Sep 5, 2014 at 12:12 PM, Lee Salzman <<a href="mailto:lsalzman@gmail.com">lsalzman@gmail.com</a>> wrote:<br>
>> > Does anyone have handy clean project files for VS 2012 to build 32 bit<br>
>> > static libs, and possibly also dlls?<br>
>> ><br>
>> > I've been meaning to make some and put them in the next release, but<br>
>> > I've<br>
>> > been so busy lately I haven't had time to do this.<br>
>> ><br>
>> > _______________________________________________<br>
>> > ENet-discuss mailing list<br>
>> > <a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
>> > <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
>> ><br>
>> _______________________________________________<br>
>> ENet-discuss mailing list<br>
>> <a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
>> <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> ENet-discuss mailing list<br>
> <a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
> <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
><br>
</div></div><br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br></div>