2014-11-09 22:29:28 +00:00
|
|
|
include_directories(BEFORE include src)
|
2010-11-01 15:47:02 +00:00
|
|
|
|
2014-11-09 22:29:28 +00:00
|
|
|
set(SRC_NETWORK
|
|
|
|
src/SFML/Network/Http.cpp
|
|
|
|
src/SFML/Network/IPAddress.cpp
|
|
|
|
src/SFML/Network/Packet.cpp
|
|
|
|
src/SFML/Network/Socket.cpp
|
|
|
|
src/SFML/Network/SocketSelector.cpp
|
|
|
|
src/SFML/Network/TcpListener.cpp
|
|
|
|
src/SFML/Network/TcpSocket.cpp
|
|
|
|
src/SFML/Network/UdpSocket.cpp
|
|
|
|
)
|
2010-11-08 14:04:56 +00:00
|
|
|
|
2014-11-09 22:29:28 +00:00
|
|
|
if(WIN32)
|
|
|
|
list(APPEND SRC_NETWORK src/SFML/Network/Win32/SocketImpl.cpp)
|
|
|
|
else()
|
|
|
|
list(APPEND SRC_NETWORK src/SFML/Network/Unix/SocketImpl.cpp)
|
2010-11-08 14:04:56 +00:00
|
|
|
endif()
|
2010-11-01 15:47:02 +00:00
|
|
|
|
2014-11-09 22:29:28 +00:00
|
|
|
set(SRC_SYSTEM
|
|
|
|
src/SFML/System/Err.cpp
|
|
|
|
src/SFML/System/String.cpp
|
|
|
|
src/SFML/System/Time.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(sfml-network ${SRC_NETWORK})
|
|
|
|
add_library(sfml-system ${SRC_SYSTEM})
|
2022-05-21 13:09:05 +00:00
|
|
|
dolphin_disable_warnings_msvc(sfml-network)
|
|
|
|
dolphin_disable_warnings_msvc(sfml-system)
|