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
33c9c2ef
Commit
33c9c2ef
authored
Jan 17, 2019
by
Brendan Gregg
Committed by
GitHub
Jan 17, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #363 from cyphar/cmake-test
cmake: add BUILD_TESTING support
parents
f22cb87a
a56ab12d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+4
-2
No files found.
CMakeLists.txt
View file @
33c9c2ef
...
...
@@ -21,7 +21,7 @@ add_compile_options("-Wno-format-security")
#add_compile_options("-Wstrict-overflow=5")
#add_compile_options("-Wdisabled-optimization")
enable_testing
(
)
include
(
CTest
)
if
(
STATIC_LINKING
)
set
(
CMAKE_EXE_LINKER_FLAGS
"-static"
)
...
...
@@ -59,7 +59,9 @@ include_directories(${CLANG_INCLUDE_DIRS})
add_subdirectory
(
src/arch
)
add_subdirectory
(
src/ast
)
add_subdirectory
(
src
)
add_subdirectory
(
tests
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
endif
()
add_subdirectory
(
resources
)
add_subdirectory
(
tools
)
add_subdirectory
(
man
)
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