Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
86bcc27d
Commit
86bcc27d
authored
Aug 24, 2017
by
Brenden Blanco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile errors with ENABLE_USDT=Off
Signed-off-by:
Brenden Blanco
<
bblanco@gmail.com
>
parent
d2e5dd57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-0
tests/cc/CMakeLists.txt
tests/cc/CMakeLists.txt
+2
-0
No files found.
examples/CMakeLists.txt
View file @
86bcc27d
...
...
@@ -2,7 +2,9 @@ set(EXAMPLE_PROGRAMS hello_world.py)
install
(
PROGRAMS
${
EXAMPLE_PROGRAMS
}
DESTINATION share/bcc/examples
)
if
(
ENABLE_CLANG_JIT
)
if
(
ENABLE_USDT
)
add_subdirectory
(
cpp
)
endif
(
ENABLE_USDT
)
add_subdirectory
(
lua
)
add_subdirectory
(
networking
)
add_subdirectory
(
tracing
)
...
...
tests/cc/CMakeLists.txt
View file @
86bcc27d
...
...
@@ -9,6 +9,7 @@ target_link_libraries(test_static bcc-static)
add_test
(
NAME c_test_static COMMAND
${
TEST_WRAPPER
}
c_test_static sudo
${
CMAKE_CURRENT_BINARY_DIR
}
/test_static
)
if
(
ENABLE_USDT
)
add_executable
(
test_libbcc
test_libbcc.cc
test_c_api.cc
...
...
@@ -25,3 +26,4 @@ find_path(SDT_HEADER NAMES "sys/sdt.h")
if
(
SDT_HEADER
)
target_compile_definitions
(
test_libbcc PRIVATE HAVE_SDT_HEADER=1
)
endif
()
endif
(
ENABLE_USDT
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment