mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
12 lines
273 B
CMake
12 lines
273 B
CMake
|
|
set(SRCROOT ${PROJECT_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
|
|
RESOURCES_DIR resources)
|