- # Copyright The OpenTelemetry Authors
- # SPDX-License-Identifier: Apache-2.0
- add_subdirectory(propagation)
- include(GoogleTest)
- foreach(testname context_test runtime_context_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 context.
- TEST_LIST ${testname})
- endforeach()
|