添加 CMake 支持以自动查找和链接 rpl 库,并创建 CMake 构建说明文档

Signed-off-by: MoonFeather <moonbite233@gmail.com>
This commit is contained in:
MoonFeather
2025-11-10 16:30:07 +08:00
parent 0e1c9cbbc1
commit ed07d3659f
4 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
find_package(rpl QUIET)
if (NOT rpl_FOUND)
FetchContent_Declare(
rpl
GIT_REPOSITORY https://gitee.com/dlmu-cone/rpl
GIT_TAG main
)
FetchContent_MakeAvailable(rpl)
endif ()