Add XCUI new editor sandbox phase 1

This commit is contained in:
2026-04-05 04:55:25 +08:00
parent e23f469e5a
commit 67a28bdd4a
76 changed files with 14671 additions and 3 deletions

View File

@@ -1,4 +1,13 @@
cmake_minimum_required(VERSION 3.15)
if(MSVC)
if(POLICY CMP0141)
cmake_policy(SET CMP0141 NEW)
endif()
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT
"$<$<CONFIG:Debug,RelWithDebInfo>:Embedded>")
endif()
project(XCEngine)
set(CMAKE_CXX_STANDARD 20)
@@ -7,6 +16,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
enable_testing()
option(XCENGINE_ENABLE_MONO_SCRIPTING "Build the Mono-based C# scripting runtime" ON)
option(XCENGINE_BUILD_NEW_EDITOR "Build the experimental new_editor skeleton" ON)
set(
XCENGINE_MONO_ROOT_DIR
"${CMAKE_SOURCE_DIR}/参考/Fermion/Fermion/external/mono"
@@ -15,6 +25,9 @@ set(
add_subdirectory(engine)
add_subdirectory(editor)
if(XCENGINE_BUILD_NEW_EDITOR)
add_subdirectory(new_editor)
endif()
add_subdirectory(managed)
add_subdirectory(mvs/RenderDoc)
add_subdirectory(tests)