恢复成自定义协议了

This commit is contained in:
2026-08-11 16:10:02 +08:00
parent 274dd4c044
commit f2c1374a7f
27 changed files with 820 additions and 1526 deletions
+2 -7
View File
@@ -16,12 +16,7 @@ endif ()
if (RENDERIVE_BUILD_3D)
message(FATAL_ERROR "RENDERIVE_BUILD_3D is reserved; the 3D renderer is not implemented")
endif ()
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(third_party "${CMAKE_CURRENT_LIST_DIR}/third_party")
else ()
set(third_party "${CMAKE_CURRENT_LIST_DIR}/..")
endif ()
include("${third_party}/build_infra/start.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/third_party/build_infra/start.cmake")
if (RENDERIVE_BUILD_TESTS)
enable_testing()
endif ()
@@ -36,4 +31,4 @@ if (RENDERIVE_BUILD_WEB)
add_subdirectory(web_server)
endif ()
include("${CMAKE_CURRENT_LIST_DIR}/cmake/RenderivePackage.cmake")
include("${third_party}/build_infra/end.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/third_party/build_infra/end.cmake")