Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bpftrace
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
bpftrace
Commits
b07c7d05
Commit
b07c7d05
authored
Mar 07, 2017
by
Alastair Robertson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only build required targets from BCC and GTest
parent
d0d5eae2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/CMakeLists.txt
src/CMakeLists.txt
+1
-0
tests/CMakeLists.txt
tests/CMakeLists.txt
+1
-0
No files found.
src/CMakeLists.txt
View file @
b07c7d05
...
...
@@ -21,6 +21,7 @@ ExternalProject_Add(bcc
STEP_TARGETS build update
EXCLUDE_FROM_ALL 1
UPDATE_DISCONNECTED 1
BUILD_COMMAND
${
CMAKE_COMMAND
}
--build . --target bcc-static
)
add_dependencies
(
bpftrace bcc-build
)
ExternalProject_Get_Property
(
bcc source_dir binary_dir
)
...
...
tests/CMakeLists.txt
View file @
b07c7d05
...
...
@@ -12,6 +12,7 @@ ExternalProject_Add(gtest
STEP_TARGETS build update
EXCLUDE_FROM_ALL 1
UPDATE_DISCONNECTED 1
BUILD_COMMAND
${
CMAKE_COMMAND
}
--build . --target gtest_main
)
add_dependencies
(
bpftrace_test gtest-build
)
ExternalProject_Get_Property
(
gtest source_dir binary_dir
)
...
...
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