Initial commit
This commit is contained in:
commit
311a93cdd6
15 changed files with 2702 additions and 0 deletions
13
tests/CMakeLists.txt
Normal file
13
tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
project(${CMAKE_PROJECT_NAME}_tests)
|
||||
|
||||
# Clone Google Test
|
||||
set(GOOGLETEST_DIR ${CMAKE_SOURCE_DIR}/tests/lib/googletest)
|
||||
if(NOT EXISTS ${GOOGLETEST_DIR})
|
||||
find_package(Git REQUIRED)
|
||||
execute_process(
|
||||
COMMAND ${GIT_EXECUTABLE} clone https://github.com/google/googletest ${GOOGLETEST_DIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
add_subdirectory(lib/googletest)
|
||||
add_subdirectory(unit_tests)
|
Loading…
Add table
Add a link
Reference in a new issue