2010-11-01 15:47:02 +00:00
|
|
|
include_directories(include)
|
|
|
|
|
|
|
|
set(SRCS src/SFML/Network/Ftp.cpp
|
|
|
|
src/SFML/Network/Http.cpp
|
|
|
|
src/SFML/Network/IPAddress.cpp
|
|
|
|
src/SFML/Network/Packet.cpp
|
|
|
|
src/SFML/Network/SelectorBase.cpp
|
|
|
|
src/SFML/Network/SocketTCP.cpp
|
2010-11-08 14:04:56 +00:00
|
|
|
src/SFML/Network/SocketUDP.cpp)
|
|
|
|
|
|
|
|
if(UNIX OR APPLE)
|
|
|
|
set(SRCS ${SRCS} src/SFML/Network/Unix/SocketHelper.cpp)
|
|
|
|
elseif(WIN32)
|
|
|
|
set(SRCS ${SRCS} src/SFML/Network/Win32/SocketHelper.cpp)
|
|
|
|
endif()
|
2010-11-01 15:47:02 +00:00
|
|
|
|
|
|
|
add_library(sfml-network ${SRCS})
|