2014-09-30 22:07:25 +08:00
|
|
|
|
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/voip)
|
|
|
|
|
|
|
|
# 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)
|