SFML/examples/tennis/CMakeLists.txt
2022-08-22 11:26:57 +08:00

16 lines
460 B
CMake

# all source files
set(SRC Tennis.cpp)
if (SFML_OS_IOS)
set(RESOURCES
resources/ball.wav
resources/tuffy.ttf)
set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
endif()
# define the pong target
sfml_add_example(tennis GUI_APP
SOURCES ${SRC}
BUNDLE_RESOURCES ${RESOURCES}
DEPENDS SFML::Audio SFML::Graphics
RESOURCES_DIR resources)