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)