File: CMakeLists.txt

package info (click to toggle)
opentelemetry-cpp 1.23.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,372 kB
  • sloc: cpp: 96,239; sh: 1,766; makefile: 36; python: 31
file content (16 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

if(BUILD_TESTING)
  add_library(opentelemetry_test_common INTERFACE)
  target_include_directories(
    opentelemetry_test_common
    INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
              "$<INSTALL_INTERFACE:include>")

  set_target_properties(opentelemetry_test_common PROPERTIES EXPORT_NAME
                                                             "teset_common")
  target_link_libraries(opentelemetry_test_common INTERFACE opentelemetry_api)

  add_subdirectory(src)
endif()