This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar/deps/utable/test/CMakeLists.txt
2024-11-25 19:22:19 +08:00

31 lines
635 B
CMake

include_directories(${CMAKE_SOURCE_DIR}/deps)
add_executable(gtest_utable
unit_test_utable.cpp
)
target_link_libraries(
gtest_utable
utable
gtest
)
add_executable(gtest_ipfix_exporter
unit_test_ipfix_exporter.cpp
)
target_link_libraries(
gtest_ipfix_exporter
utable
gtest
)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/conf DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
include(GoogleTest)
gtest_discover_tests(gtest_utable)
gtest_discover_tests(gtest_ipfix_exporter
TEST_LIST gtest_ipfix_exporter_tests
)
set_tests_properties(${gtest_ipfix_exporter_tests} PROPERTIES WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/)