Sync editor rendering and UI workspace updates

This commit is contained in:
2026-04-09 02:59:36 +08:00
parent 23b23a56be
commit d46bf87970
107 changed files with 10918 additions and 430 deletions

View File

@@ -13,6 +13,26 @@ project(XCEngine)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(XCENGINE_NANOVDB_INCLUDE_HINTS
"${CMAKE_SOURCE_DIR}/engine/third_party/nanovdb/include"
"$ENV{VCPKG_ROOT}/installed/x64-windows/include"
"D:/vcpkg/installed/x64-windows/include"
)
find_path(
XCENGINE_NANOVDB_INCLUDE_DIR
NAMES nanovdb/io/IO.h
HINTS ${XCENGINE_NANOVDB_INCLUDE_HINTS}
)
if(XCENGINE_NANOVDB_INCLUDE_DIR)
set(XCENGINE_HAS_NANOVDB ON)
message(STATUS "NanoVDB headers found: ${XCENGINE_NANOVDB_INCLUDE_DIR}")
else()
set(XCENGINE_HAS_NANOVDB OFF)
message(STATUS "NanoVDB headers not found; .nvdb source-file support will be disabled")
endif()
enable_testing()
option(XCENGINE_ENABLE_MONO_SCRIPTING "Build the Mono-based C# scripting runtime" ON)