-
Notifications
You must be signed in to change notification settings - Fork 9
/
CMakeLists.txt
44 lines (32 loc) · 759 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# Copyright (c) 2019-present, Trail of Bits, Inc.
# All rights reserved.
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
#
cmake_minimum_required(VERSION 3.21.4)
project("ebpfault")
include("cmake/options.cmake")
include("cmake/settings.cmake")
add_executable(ebpfault
src/main.cpp
src/faultinjector.h
src/faultinjector.cpp
src/utils.h
src/utils.cpp
src/configuration.h
src/configuration.cpp
)
add_subdirectory("libraries")
target_link_libraries(ebpfault PRIVATE
ebpfault_cxx_settings
thirdparty_rapidjson
thirdparty_cli11
ebpf
error
utils
)
if(EBPFAULT_ENABLE_INSTALL)
install(TARGETS ebpfault DESTINATION "bin")
endif()