mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
11 lines
299 B
CMake
11 lines
299 B
CMake
|
|
||
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/island)
|
||
|
|
||
|
# all source files
|
||
|
set(SRC ${SRCROOT}/Island.cpp)
|
||
|
|
||
|
# define the island target
|
||
|
sfml_add_example(island GUI_APP
|
||
|
SOURCES ${SRC}
|
||
|
DEPENDS sfml-graphics sfml-window sfml-system
|
||
|
RESOURCES_DIR resources)
|