Commit graph

6 commits

Author SHA1 Message Date
Lukasz Fronc
67f964c2ad CMake source groups added for cleaner VS solutions. 2017-10-15 11:02:29 +02:00
James Rowe
6cc8cc8a26 Fix mingw compilation
In order to compile enet on mingw, you need to link against winmm and
ws2_32. This explicitly makes those libraries required on mingw
2017-07-12 19:24:14 -06:00
Cong
90560cd471 Don't treat warnings as errors
When enet is included as a child CMake project in a parent that has warnings treated as errors, enet fails to build. This ensures that the compiler doesn't treat warnings as errors for enet.
2017-05-22 10:15:27 +10:00
Cong
5f5e977eef MSVC only warn up to level 3
enet produces warnings at level 4, which can interrupt compiles if warnings are treated as errors. Turning down the warning level resolves the issue.
2017-05-21 20:05:56 +10:00
Lee Salzman
5f476546ed use getaddrinfo and getnameinfo where available 2015-05-11 05:41:27 -04:00
Lee Salzman
c8fa0aeea4 add cmake support 2014-12-02 17:46:04 +02:00