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 (14 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

if(WITH_OTLP_GRPC)
  add_executable(func_otlp_grpc func_grpc_main.cc)
  target_link_libraries(func_otlp_grpc ${CMAKE_THREAD_LIBS_INIT}
                        opentelemetry_trace opentelemetry_exporter_otlp_grpc)
endif()

if(WITH_OTLP_HTTP)
  add_executable(func_otlp_http func_http_main.cc)
  target_link_libraries(func_otlp_http ${CMAKE_THREAD_LIBS_INIT}
                        opentelemetry_trace opentelemetry_exporter_otlp_http)
endif()