21 lines
542 B
CMake
21 lines
542 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
project(XCEngine)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
enable_testing()
|
|
|
|
option(XCENGINE_ENABLE_MONO_SCRIPTING "Build the Mono-based C# scripting runtime" ON)
|
|
set(
|
|
XCENGINE_MONO_ROOT_DIR
|
|
"${CMAKE_SOURCE_DIR}/参考/Fermion/Fermion/external/mono"
|
|
CACHE PATH
|
|
"Path to the bundled Mono distribution used by the scripting runtime")
|
|
|
|
add_subdirectory(engine)
|
|
add_subdirectory(Editor)
|
|
add_subdirectory(managed)
|
|
add_subdirectory(mvs/RenderDoc)
|
|
add_subdirectory(tests)
|