2010-08-19 23:59:24 +08:00
|
|
|
|
2011-08-07 21:33:42 +08:00
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sockets)
|
2010-08-19 23:59:24 +08:00
|
|
|
|
|
|
|
# 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 sfml-system)
|