Browse Source

adds gtest

tags/v0.0.1
Henry Case 3 years ago
parent
commit
81ccb71992
3 changed files with 6 additions and 0 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      3rd/gtest
  3. +2
    -0
      CMakeLists.txt

+ 3
- 0
.gitmodules View File

@@ -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
- 0
3rd/gtest

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

+ 2
- 0
CMakeLists.txt View File

@@ -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")


Loading…
Cancel
Save