Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
esigo committed Oct 30, 2021
1 parent 23c71b2 commit f873929
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
add_subdirectory(common)
include_directories(common)
if(WITH_OTLP_GRPC OR WITH_OTLP_HTTP)
add_subdirectory(otlp)
add_subdirectory(grpc)
Expand Down
2 changes: 1 addition & 1 deletion examples/common/foo_library/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ cc_library(
defines = ["BAZEL_BUILD"],
deps = [
"//api",
"//sdk/src/trace",
"//sdk:headers",
],
)
3 changes: 1 addition & 2 deletions examples/jaeger/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include_directories(${CMAKE_SOURCE_DIR}/exporters/jaeger/include
${CMAKE_SOURCE_DIR}/examples/common)
include_directories(${CMAKE_SOURCE_DIR}/exporters/jaeger/include)

add_executable(example_jaeger main.cc)
target_link_libraries(
Expand Down
6 changes: 2 additions & 4 deletions examples/multi_processor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
include_directories(
${CMAKE_SOURCE_DIR}/exporters/ostream/include
${CMAKE_SOURCE_DIR}/exporters/memory/include
${CMAKE_SOURCE_DIR}/examples/common)
include_directories(${CMAKE_SOURCE_DIR}/exporters/ostream/include
${CMAKE_SOURCE_DIR}/exporters/memory/include)

add_executable(example_multi_processor main.cc)
target_link_libraries(
Expand Down
1 change: 0 additions & 1 deletion examples/otlp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include_directories(
${CMAKE_BINARY_DIR}/generated/third_party/opentelemetry-proto
${CMAKE_SOURCE_DIR}/examples/common
${CMAKE_SOURCE_DIR}/exporters/otlp/include)

if(WITH_OTLP_GRPC)
Expand Down
3 changes: 1 addition & 2 deletions examples/simple/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include_directories(${CMAKE_SOURCE_DIR}/exporters/ostream/include
${CMAKE_SOURCE_DIR}/examples/common)
include_directories(${CMAKE_SOURCE_DIR}/exporters/ostream/include)

add_executable(example_simple main.cc)
target_link_libraries(
Expand Down
3 changes: 1 addition & 2 deletions examples/zipkin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include_directories(${CMAKE_SOURCE_DIR}/exporters/zipkin/include
${CMAKE_SOURCE_DIR}/examples/common)
include_directories(${CMAKE_SOURCE_DIR}/exporters/zipkin/include)

add_executable(example_zipkin main.cc)
target_link_libraries(
Expand Down

0 comments on commit f873929

Please sign in to comment.