mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
11 lines
240 B
CMake
11 lines
240 B
CMake
|
|
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}
|
|
DEPENDS sfml-window OpenGL)
|