瀏覽代碼

adds gtest

kyber
Henry Case 3 年之前
父節點
當前提交
81ccb71992
共有 3 個文件被更改,包括 6 次插入0 次删除
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      3rd/gtest
  3. +2
    -0
      CMakeLists.txt

+ 3
- 0
.gitmodules 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存