ENH: add testing structure
This commit is contained in:
parent
ea1ef11694
commit
7c78897f19
4 changed files with 22 additions and 0 deletions
8
tests/unit_tests/CMakeLists.txt
Normal file
8
tests/unit_tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
||||
|
||||
add_executable(Unit_Tests_run
|
||||
test_example.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(Unit_Tests_run gtest gtest_main)
|
||||
target_link_libraries(Unit_Tests_run ${CMAKE_PROJECT_NAME}_lib)
|
Loading…
Add table
Add a link
Reference in a new issue