mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 23:35:11 +08:00
17 lines
501 B
CMake
17 lines
501 B
CMake
# all source files
|
|
set(SRC Keyboard.cpp)
|
|
if(SFML_OS_IOS)
|
|
set(RESOURCES
|
|
resources/error_005.ogg
|
|
resources/mouseclick1.ogg
|
|
resources/mouserelease1.ogg
|
|
resources/Tuffy.ttf)
|
|
set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
|
endif()
|
|
|
|
# define the keyboard target
|
|
sfml_add_example(keyboard GUI_APP
|
|
SOURCES ${SRC}
|
|
BUNDLE_RESOURCES ${RESOURCES}
|
|
DEPENDS SFML::Audio SFML::Graphics)
|