-
Notifications
You must be signed in to change notification settings - Fork 61
/
cmake.toml
50 lines (39 loc) · 1 KB
/
cmake.toml
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
# Reference: https://build-cpp.github.io/cmkr/cmake-toml
[cmake]
version = "3.15"
cmkr-include = "cmake/cmkr.cmake"
[project]
name = "remill-workshop"
[variables]
CMAKE_MODULE_PATH = "${CMAKE_SOURCE_DIR}/cmake"
GFLAGS_USE_TARGET_NAMESPACE = true
CMAKE_CXX_FLAGS_DEBUG = "-O0 -gfull"
[template.llvm-tool]
type = "executable"
compile-features = ["cxx_std_20"]
link-libraries = ["LLVM-Wrapper", "remill", "remill_settings"]
[find-package.Z3]
[find-package.LLVM-Wrapper]
[find-package.remill]
[find-package.LIEF]
# Compile the helpers
[subdir.helpers]
[target.remill-lift]
type = "llvm-tool"
sources = ["src/remill-lift.cpp"]
link-libraries = ["LIEF::LIEF"]
[target.api-basics]
type = "llvm-tool"
sources = ["src/api-basics.cpp"]
[target.bc-tool]
type = "llvm-tool"
sources = ["src/bc-tool.cpp"]
[target.bc-demangle]
type = "llvm-tool"
sources = ["src/bc-demangle.cpp"]
[target.bc-annotate]
type = "llvm-tool"
sources = ["src/bc-annotate.cpp"]
[target.ram-cleaner]
type = "llvm-tool"
sources = ["src/ram-cleaner.cpp"]