mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
move md5 tests to md5/tests/
This commit is contained in:
parent
9c1f6e4b73
commit
3a0ec74460
@ -5,3 +5,7 @@ set(CPPS
|
||||
set(PLATFORMCPPS)
|
||||
|
||||
add_library(md5 STATIC ${HEADERS} ${CPPS} ${PLATFORMCPPS})
|
||||
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
12
md5/tests/CMakeLists.txt
Normal file
12
md5/tests/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
add_executable(
|
||||
md5_tests
|
||||
../md5.cpp
|
||||
md5_tests.cpp
|
||||
)
|
||||
target_link_libraries(
|
||||
md5_tests
|
||||
GTest::gtest_main
|
||||
)
|
||||
target_include_directories(md5_tests PRIVATE ${PROJECT_SOURCE_DIR}/md5 ${PROJECT_SOURCE_DIR}/lib)
|
||||
|
||||
gtest_discover_tests(md5_tests)
|
@ -9,16 +9,3 @@ target_link_libraries(
|
||||
target_include_directories(byteswap_tests PRIVATE ${PROJECT_SOURCE_DIR}/lib)
|
||||
|
||||
gtest_discover_tests(byteswap_tests)
|
||||
|
||||
add_executable(
|
||||
md5_tests
|
||||
../md5/md5.cpp
|
||||
md5_tests.cpp
|
||||
)
|
||||
target_link_libraries(
|
||||
md5_tests
|
||||
GTest::gtest_main
|
||||
)
|
||||
target_include_directories(md5_tests PRIVATE ${PROJECT_SOURCE_DIR}/md5 ${PROJECT_SOURCE_DIR}/lib)
|
||||
|
||||
gtest_discover_tests(md5_tests)
|
||||
|
Loading…
Reference in New Issue
Block a user