mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
11 lines
273 B
CMake
11 lines
273 B
CMake
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sound_capture)
|
|
|
|
# all source files
|
|
set(SRC ${SRCROOT}/SoundCapture.cpp)
|
|
|
|
# define the sound-capture target
|
|
sfml_add_example(sound-capture
|
|
SOURCES ${SRC}
|
|
DEPENDS sfml-audio sfml-system)
|