Repository navigation
Expand file tree
/
Copy pathcmake.toml
More file actions
53 lines (47 loc) · 1.65 KB
/
Copy pathcmake.toml
File metadata and controls
53 lines (47 loc) · 1.65 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
# Reference: https://build-cpp.github.io/cmkr/cmake-toml
# to build:
# > cmake -B build
# > cmake --build build --config Release
[project]
name = "bin2bin-exception-flow"
cmake-before="""
add_compile_options($<$<CXX_COMPILER_ID:MSVC>:/MP>)
"""
[fetch-content.spdlog]
git = "https://github.com/gabime/spdlog"
tag = "v1.15.3"
[fetch-content.kananlib]
git = "https://github.com/cursey/kananlib"
tag = "d9bdf87a1be571411ae81b1e24e89b58c92236c2"
cmake-before="""
set(KANANLIB_FETCH_BDDISASM ON CACHE BOOL "" FORCE)
set(KANANLIB_FETCH_SPDLOG OFF CACHE BOOL "" FORCE)
"""
[target.securitylib]
type = "static"
sources = ["src/security/**.cpp", "src/security/**.c"]
headers = ["src/security/**.hpp", "src/security/**.h"]
include-directories = ["src/security"]
compile-features = ["cxx_std_23"]
link-libraries = ["kananlib"]
[target.securitylib-obfuscator]
type = "static"
sources = ["src/security_impl/**.cpp", "src/security_impl/**.c"]
headers = ["src/security_impl/**.hpp", "src/security_impl/**.h"]
include-directories = ["src/security_impl"]
compile-features = ["cxx_std_23"]
compile-definitions = ["SECURITYLIB_OBFUSCATOR"]
link-libraries = ["kananlib", "securitylib"]
[target.obfuscator]
type = "executable"
sources = ["src/obfuscator/**.cpp", "src/obfuscator/**.c"]
headers = ["src/obfuscator/**.hpp", "src/obfuscator/**.h"]
compile-features = ["cxx_std_23"]
compile-definitions = ["SECURITYLIB_OBFUSCATOR"]
link-libraries = ["kananlib", "securitylib-obfuscator"]
[target.target]
type = "executable"
sources = ["src/target/**.cpp", "src/target/**.c"]
headers = ["src/target/**.hpp", "src/target/**.h"]
compile-features = ["cxx_std_23"]
link-libraries = ["kananlib", "securitylib"]