mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 21:01:05 +08:00
13 lines
311 B
CMake
13 lines
311 B
CMake
|
|
||
|
set(SRCROOT ${CMAKE_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)
|