2014-09-30 22:07:25 +08:00
|
|
|
|
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/window)
|
|
|
|
|
|
|
|
# all source files
|
|
|
|
set(SRC ${SRCROOT}/Window.cpp)
|
|
|
|
|
|
|
|
# define the window target
|
|
|
|
sfml_add_example(window GUI_APP
|
|
|
|
SOURCES ${SRC}
|
2021-12-29 13:28:50 +08:00
|
|
|
DEPENDS SFML::Window)
|
2021-04-20 21:59:24 +08:00
|
|
|
|
|
|
|
# external dependency headers
|
2022-04-05 02:13:03 +08:00
|
|
|
target_include_directories(window SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/window)
|