mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 17:37:47 +01:00
proper cmake
This commit is contained in:
24
tests/repo/CMakeLists.txt
Normal file
24
tests/repo/CMakeLists.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
cmake_minimum_required(VERSION 3.22)
|
||||
|
||||
add_executable(
|
||||
FileRepositoryTest
|
||||
srcs/FileRepositoryTest.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
FileRepositoryTest PRIVATE
|
||||
GTest::gtest_main commands utils testUtils repo
|
||||
)
|
||||
|
||||
add_executable(
|
||||
ChunkTest
|
||||
srcs/ChunkTest.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
ChunkTest PRIVATE
|
||||
GTest::gtest_main commands utils testUtils repo
|
||||
)
|
||||
|
||||
gtest_discover_tests(ChunkTest)
|
||||
gtest_discover_tests(FileRepositoryTest)
|
||||
Reference in New Issue
Block a user