File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ set(EXAMPLE_PROGRAMS hello_world.py)
22install (PROGRAMS ${EXAMPLE_PROGRAMS} DESTINATION share/bcc/examples)
33
44if (ENABLE_CLANG_JIT)
5+ if (ENABLE_USDT)
56add_subdirectory (cpp)
7+ endif (ENABLE_USDT)
68add_subdirectory (lua)
79add_subdirectory (networking)
810add_subdirectory (tracing)
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ target_link_libraries(test_static bcc-static)
99
1010add_test (NAME c_test_static COMMAND ${TEST_WRAPPER} c_test_static sudo ${CMAKE_CURRENT_BINARY_DIR} /test_static)
1111
12+ if (ENABLE_USDT)
1213add_executable (test_libbcc
1314 test_libbcc.cc
1415 test_c_api.cc
@@ -25,3 +26,4 @@ find_path(SDT_HEADER NAMES "sys/sdt.h")
2526if (SDT_HEADER)
2627 target_compile_definitions (test_libbcc PRIVATE HAVE_SDT_HEADER=1)
2728endif ()
29+ endif (ENABLE_USDT)
You can’t perform that action at this time.
0 commit comments