mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
b6ca47e128
Ported sfml-pi DRM/KMS backend written by @mickelson Port co-authored by @substring Co-authored-by: Andrew Mickelson <andrew.mickelson@gmail.com> Co-authored-by: Gil Delescluse <frog2wah@gmail.com>
14 lines
352 B
CMake
14 lines
352 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)
|
|
|
|
# external dependency headers
|
|
target_include_directories(window SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/window)
|