mirror of
https://github.com/SFML/SFML.git
synced 2024-12-02 00:01:05 +08:00
11 lines
240 B
CMake
11 lines
240 B
CMake
|
|
||
|
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/sound)
|
||
|
|
||
|
# all source files
|
||
|
set(SRC ${SRCROOT}/Sound.cpp)
|
||
|
|
||
|
# define the sound target
|
||
|
sfml_add_example(sound
|
||
|
SOURCES ${SRC}
|
||
|
DEPENDS sfml-audio sfml-system)
|