2010-08-19 23:59:24 +08:00
|
|
|
|
2011-08-07 21:33:42 +08:00
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/voip)
|
2010-08-19 23:59:24 +08:00
|
|
|
|
|
|
|
# all source files
|
|
|
|
set(SRC ${SRCROOT}/VoIP.cpp
|
|
|
|
${SRCROOT}/Client.cpp
|
|
|
|
${SRCROOT}/Server.cpp)
|
|
|
|
|
|
|
|
# define the voip target
|
|
|
|
sfml_add_example(voip
|
|
|
|
SOURCES ${SRC}
|
|
|
|
DEPENDS sfml-audio sfml-network sfml-system)
|