blob: eebc91db5ecf34b0f0a94f35d2761b5faef22e1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sockets)
# all source files
set(SRC ${SRCROOT}/Sockets.cpp
${SRCROOT}/TCP.cpp
${SRCROOT}/UDP.cpp)
# define the sockets target
sfml_add_example(sockets
SOURCES ${SRC}
DEPENDS sfml-network)
|