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}
|
2019-04-13 19:16:32 +08:00
|
|
|
DEPENDS sfml-window)
|
2021-04-20 21:59:24 +08:00
|
|
|
|
|
|
|
# external dependency headers
|
|
|
|
target_include_directories(window SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/window)
|