[ENet-discuss] Creating a dynamic enet dll on Windows

Edgar Reynaldo edgarreynaldo at members.allegro.cc
Mon Feb 6 00:25:34 PST 2017

It looks like I forgot to add -DENET_DLL to the CFLAGS variable. Let me 
update my patch and then I'll post it again.

On 2/6/2017 2:21 AM, Edgar Reynaldo wrote:
> Hello fellow enet users and developers,
> I made a patch to create a dynamic enet dll on windows with either 
> MinGW or MSVC using CMake. I edited CMakeLists.txt to do so. The patch 
> is attached if anyone is interested. If this is the wrong mailing list 
> please direct me where to go.
> If there are any changes you would like me to make, please let me 
> know. I'm aware that it doesn't support *NIX or OSX at this point. If 
> anyone wants to contribute that part of it I would appreciate it. All 
> you should really have to do is set target_link_libraries to the 
> appropriate libraries for networking on that platform under the 
> compiler check section at the bottom of CMakeLists.txt.
> Thanks for your time,
> Edgar

More information about the ENet-discuss mailing list