mirror of
https://github.com/SFML/SFML.git
synced 2024-12-11 12:39:15 +08:00
13 lines
313 B
CMake
13 lines
313 B
CMake
|
|
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)
|