blob: 512266dc803b6716bf39a5f491e09db81e18a947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
include(GoogleTest)
foreach(testname instrumentationlibrary_test)
add_executable(${testname} "${testname}.cc")
target_link_libraries(${testname} ${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT} opentelemetry_api)
gtest_add_tests(
TARGET ${testname}
TEST_PREFIX instrumentationlibrary.
TEST_LIST ${testname})
endforeach()
|