adds gtest

This commit is contained in:
Henry Case 2021-03-24 23:48:29 +00:00
parent 810f460a7e
commit 81ccb71992
3 changed files with 6 additions and 0 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "test/pycparser"] [submodule "test/pycparser"]
path = test/pycparser path = test/pycparser
url = https://github.com/eliben/pycparser.git 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

View File

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