mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
13 lines
289 B
CMake
13 lines
289 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)
|