mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
bc628c6b28
- Convert where necessary - Adjust type where reasonable - Use SYSTEM headers for gl.h, stb* and vulkan
14 lines
394 B
CMake
14 lines
394 B
CMake
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/vulkan)
|
|
|
|
# all source files
|
|
set(SRC ${SRCROOT}/Vulkan.cpp)
|
|
|
|
# define the window target
|
|
sfml_add_example(vulkan GUI_APP
|
|
SOURCES ${SRC}
|
|
DEPENDS sfml-graphics
|
|
RESOURCES_DIR resources)
|
|
|
|
# external dependency headers
|
|
target_include_directories(vulkan SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/vulkan) |