This repository has been archived by the owner on May 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
executable file
·53 lines (45 loc) · 2.65 KB
/
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
45
46
47
48
49
50
51
52
53
project(test)
# ┌──────────────────────────────────────────────────────────────────┐
# Add more suites
# └──────────────────────────────────────────────────────────────────┘
add_subdirectory(reverseengine)
add_subdirectory(binding)
# ┌──────────────────────────────────────────────────────────────────┐
# FAKEMEM
# └──────────────────────────────────────────────────────────────────┘
set(TARGET FAKEMEM)
add_executable(${TARGET} util/fakemem/fakemem.cc)
set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD 20)
target_compile_options(${TARGET} PUBLIC
-O2
-Wformat -Werror=format-security
)
target_compile_definitions(${TARGET} PUBLIC
_FORTIFY_SOURCE=0
)
# ┌──────────────────────────────────────────────────────────────────┐
# SIGGENERATOR
# └──────────────────────────────────────────────────────────────────┘
set(TARGET SIGGEN)
add_executable(${TARGET} util/siggen/siggen.cc)
set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD 20)
target_compile_options(${TARGET} PUBLIC
-O2
-Wformat -Werror=format-security
)
target_compile_definitions(${TARGET} PUBLIC
_FORTIFY_SOURCE=0
)
# ┌──────────────────────────────────────────────────────────────────┐
# SIGGENERATOR
# └──────────────────────────────────────────────────────────────────┘
set(TARGET AC)
add_executable(${TARGET} util/ac/main.cc)
set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD 20)
target_compile_options(${TARGET} PUBLIC
-O2
-Wformat -Werror=format-security
)
target_compile_definitions(${TARGET} PUBLIC
_FORTIFY_SOURCE=0
)