mirror of
https://github.com/microsoft/GSL.git
synced 2025-02-26 19:28:09 -05:00
Adding unittest-cpp as a submodule.
This commit is contained in:
parent
ad0905c08b
commit
32d00796ad
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
tests/unittest-cpp
|
|
||||||
CMakeFiles
|
CMakeFiles
|
||||||
tests/CMakeFiles
|
tests/CMakeFiles
|
||||||
tests/Debug
|
tests/Debug
|
||||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp)
|
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp/tests)
|
||||||
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")
|
execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
function(add_gsl_test name)
|
function(add_gsl_test name)
|
||||||
|
1
tests/unittest-cpp
Submodule
1
tests/unittest-cpp
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit dc6b90838014ab985bf3cd74ac17ad9d00e1fbcb
|
Loading…
x
Reference in New Issue
Block a user