forked from google/souper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcmake.toml
57 lines (54 loc) · 1.29 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
51
52
53
54
55
56
57
# Reference: https://build-cpp.github.io/cmkr/cmake-toml
[project]
name = "Souper"
version = "1.0"
include-after = ["cmake/configure.cmake"]
# For some reason a FindZ3.cmake is also included in LLVM so we have to find it manually first
[find-package.Z3]
[find-package.Alive2]
[find-package.hiredis]
[find-package.LLVM-Wrapper]
[fetch-content.klee]
git = "https://github.com/LLVMParty/klee"
tag = "pure-bv-qf-llvm-19.0"
SOURCE_SUBDIR = "fake"
[target.souper]
type = "static"
sources = [
"lib/Codegen/*.cpp",
"lib/Extractor/*.cpp",
"lib/Infer/*.cpp",
"lib/Inst/*.cpp",
"lib/KVStore/*.cpp",
"lib/Parser/*.cpp",
"lib/SMTLIB2/*.cpp",
"lib/Tool/*.cpp",
]
headers = [
"include/souper/Codegen/*.h",
"include/souper/Extractor/*.h",
"include/souper/Infer/*.h",
"include/souper/Inst/*.h",
"include/souper/KVStore/*.h",
"include/souper/Parser/*.h",
"include/souper/SMTLIB2/*.h",
"include/souper/Tool/*.h",
"include/souper/Util/*.h",
]
link-libraries = [
"alive2",
"hiredis::hiredis_static",
"LLVM-Wrapper",
]
private-include-directories = [
"include",
"${klee_SOURCE_DIR}/include",
"${CMAKE_CURRENT_BINARY_DIR}/include",
]
include-after = [
"cmake/klee-expr.cmake",
"cmake/package.cmake",
]
compile-features = [
"cxx_std_20",
]