change cmakelists and gitignore, commit third librarys source

This commit is contained in:
Jie
2024-06-18 13:25:20 +08:00
parent c1c0b98b5c
commit 83cc278754
10 changed files with 77 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
include(FetchContent)
FetchContent_Declare(
gtest
GIT_REPOSITORY https://gitee.com/mirrors/googletest.git
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/gtest
)
FetchContent_MakeAvailable(gtest)

View File

@@ -0,0 +1,8 @@
include(FetchContent)
FetchContent_Declare(
spdlog
GIT_REPOSITORY https://15209444885:9e4e79586fa1a4d39e6634de8881b19e@gitee.com/MaderHatter/spdlog.git
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/spdlog
)
FetchContent_MakeAvailable(spdlog)