-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
55 lines (44 loc) · 1.31 KB
/
CMakeLists.txt
File metadata and controls
55 lines (44 loc) · 1.31 KB
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
45
46
47
48
49
50
51
52
53
54
55
cmake_minimum_required(VERSION 3.20)
project(ttexplore)
find_package(triton REQUIRED CONFIG)
find_package(LIEF REQUIRED CONFIG)
link_libraries(${TRITON_LIBRARIES})
link_libraries(${LIEF_LIBRARIES})
include_directories(${TRITON_INCLUDE_DIRS})
include_directories(${LIEF_INCLUDE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/lib)
add_library(ttexplore STATIC
lib/ttexplore.cpp
lib/routines.cpp
)
add_executable(harness1
harness/1/harness.cpp
)
add_executable(harness2
harness/2/harness.cpp
)
add_executable(harness3
harness/3/harness.cpp
)
add_executable(harness4
harness/4/harness.cpp
)
add_executable(harness5
harness/5/harness.cpp
)
add_executable(harness6
harness/6/harness.cpp
)
target_link_libraries(harness1 ttexplore)
target_link_libraries(harness2 ttexplore)
target_link_libraries(harness3 ttexplore)
target_link_libraries(harness4 ttexplore)
target_link_libraries(harness5 ttexplore)
target_link_libraries(harness6 ttexplore)
target_compile_options(ttexplore PRIVATE -std=c++17)
target_compile_options(harness1 PRIVATE -std=c++17)
target_compile_options(harness2 PRIVATE -std=c++17)
target_compile_options(harness3 PRIVATE -std=c++17)
target_compile_options(harness4 PRIVATE -std=c++17)
target_compile_options(harness5 PRIVATE -std=c++17)
target_compile_options(harness6 PRIVATE -std=c++17)