Adding unittest-cpp as a submodule.

This commit is contained in:
Sergiy Oryekhov 2016-03-23 16:42:35 -07:00
parent ad0905c08b
commit 32d00796ad
4 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
tests/unittest-cpp
CMakeFiles
tests/CMakeFiles
tests/Debug

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "tests/unittest-cpp"]
path = tests/unittest-cpp
url = https://github.com/Microsoft/unittest-cpp.git

View File

@ -28,8 +28,8 @@ else()
endif()
endif()
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp)
message(FATAL_ERROR "Could not find unittest-cpp enlistment. Please run 'git clone https://github.com/Microsoft/unittest-cpp.git unittest-cpp' in the tests directory")
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp/tests)
execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
endif()
function(add_gsl_test name)

1
tests/unittest-cpp Submodule

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