forked from microsoft/GSL
Adding unittest-cpp as a submodule.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
tests/unittest-cpp
|
||||
CMakeFiles
|
||||
tests/CMakeFiles
|
||||
tests/Debug
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[submodule "tests/unittest-cpp"]
|
||||
path = tests/unittest-cpp
|
||||
url = https://github.com/Microsoft/unittest-cpp.git
|
||||
@@ -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)
|
||||
|
||||
Submodule
+1
Submodule tests/unittest-cpp added at dc6b908380
Reference in New Issue
Block a user