SFML/examples/pong/CMakeLists.txt

12 lines
279 B
CMake
Raw Normal View History

set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/pong)
# all source files
set(SRC ${SRCROOT}/Pong.cpp)
# define the pong target
sfml_add_example(pong GUI_APP
SOURCES ${SRC}
2018-03-21 02:46:57 +08:00
DEPENDS sfml-audio sfml-graphics
RESOURCES_DIR resources)