adds gtest

This commit is contained in:
Henry Case 2021-03-24 23:48:29 +00:00
父節點 810f460a7e
當前提交 81ccb71992
共有 3 個檔案被更改,包括 6 行新增0 行删除

3
.gitmodules vendored
查看文件

@ -1,3 +1,6 @@
[submodule "test/pycparser"]
path = test/pycparser
url = https://github.com/eliben/pycparser.git
[submodule "3rd/gtest"]
path = 3rd/gtest
url = https://github.com/google/googletest.git

1
3rd/gtest Submodule

@ -0,0 +1 @@
Subproject commit 1a8ecf1813d022cc7914e04564b92decff6161fc

查看文件

@ -33,6 +33,8 @@ else()
message(FATAL_ERROR "Unknown processor:" ${CMAKE_SYSTEM_PROCESSOR})
endif()
add_subdirectory(3rd/gtest)
# Arch settings
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")