mirror of
https://github.com/nicbarker/clay.git
synced 2025-12-23 17:41:06 +00:00
[Renderers/vulkan] Minor changes, updating CMakeLists.txt, project is not working
This commit is contained in:
parent
24d64f196f
commit
556e6b54f2
|
|
@ -3,7 +3,7 @@ project(clay)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
option(CLAY_INCLUDE_ALL_EXAMPLES "Build all examples" ON)
|
option(CLAY_INCLUDE_ALL_EXAMPLES "Build all examples" OFF)
|
||||||
option(CLAY_INCLUDE_DEMOS "Build video demo and website" OFF)
|
option(CLAY_INCLUDE_DEMOS "Build video demo and website" OFF)
|
||||||
option(CLAY_INCLUDE_CPP_EXAMPLE "Build C++ example" OFF)
|
option(CLAY_INCLUDE_CPP_EXAMPLE "Build C++ example" OFF)
|
||||||
option(CLAY_INCLUDE_RAYLIB_EXAMPLES "Build raylib examples" OFF)
|
option(CLAY_INCLUDE_RAYLIB_EXAMPLES "Build raylib examples" OFF)
|
||||||
|
|
@ -12,13 +12,7 @@ option(CLAY_INCLUDE_SDL3_EXAMPLES "Build SDL 3 examples" OFF)
|
||||||
option(CLAY_INCLUDE_WIN32_GDI_EXAMPLES "Build Win32 GDI examples" OFF)
|
option(CLAY_INCLUDE_WIN32_GDI_EXAMPLES "Build Win32 GDI examples" OFF)
|
||||||
option(CLAY_INCLUDE_SOKOL_EXAMPLES "Build Sokol examples" OFF)
|
option(CLAY_INCLUDE_SOKOL_EXAMPLES "Build Sokol examples" OFF)
|
||||||
option(CLAY_INCLUDE_PLAYDATE_EXAMPLES "Build Playdate examples" OFF)
|
option(CLAY_INCLUDE_PLAYDATE_EXAMPLES "Build Playdate examples" OFF)
|
||||||
|
option(CLAY_INCLUDE_VULKAN_DEMO "Build Vulkan examples" ON)
|
||||||
# Enable Vulkan demo by default when the Windows generator can see a Vulkan SDK installation.
|
|
||||||
set(CLAY_INCLUDE_VULKAN_DEMO_DEFAULT OFF)
|
|
||||||
if(WIN32 AND DEFINED ENV{VULKAN_SDK})
|
|
||||||
set(CLAY_INCLUDE_VULKAN_DEMO_DEFAULT ON)
|
|
||||||
endif()
|
|
||||||
option(CLAY_INCLUDE_VULKAN_DEMO "Build Vulkan demo (requires Vulkan SDK)" ${CLAY_INCLUDE_VULKAN_DEMO_DEFAULT})
|
|
||||||
|
|
||||||
message(STATUS "CLAY_INCLUDE_DEMOS: ${CLAY_INCLUDE_DEMOS}")
|
message(STATUS "CLAY_INCLUDE_DEMOS: ${CLAY_INCLUDE_DEMOS}")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue