2014-09-30 22:07:25 +08:00
|
|
|
|
|
|
|
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-01-13 04:34:22 +08:00
|
|
|
DEPENDS sfml-audio sfml-graphics sfml-window sfml-system
|
|
|
|
INSTALL_RESOURCES_DIR)
|