SFML/examples/tennis/CMakeLists.txt
Kipernal eb07e1e6c5 Added support for stencil testing.
Co-authored-by: binary1248 <binary1248@hotmail.com>
Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
2024-01-29 08:13:14 -07:00

16 lines
461 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 tennis target
sfml_add_example(tennis GUI_APP
SOURCES ${SRC}
BUNDLE_RESOURCES ${RESOURCES}
DEPENDS SFML::Audio SFML::Graphics
RESOURCES_DIR resources)