[Renderers/vulkan] Minor changes, updating CMakeLists.txt, project is not working

This commit is contained in:
ThatTanishqTak 2025-11-18 00:20:05 +00:00
parent 24d64f196f
commit 556e6b54f2

View file

@ -3,7 +3,7 @@ project(clay)
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_CPP_EXAMPLE "Build C++ example" 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_SOKOL_EXAMPLES "Build Sokol examples" OFF)
option(CLAY_INCLUDE_PLAYDATE_EXAMPLES "Build Playdate examples" OFF)
# 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})
option(CLAY_INCLUDE_VULKAN_DEMO "Build Vulkan examples" ON)
message(STATUS "CLAY_INCLUDE_DEMOS: ${CLAY_INCLUDE_DEMOS}")