-
Notifications
You must be signed in to change notification settings - Fork 48
/
cmake.toml
63 lines (55 loc) · 1.47 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
58
59
60
61
62
63
[project]
name = "EagleVM"
languages = ["C", "CXX", "ASM_MASM"]
[options]
BUILD_TESTS = false
[conditions]
build-tests = "BUILD_TESTS"
[subdir.deps]
[target.EagleVM]
type = "executable"
include-directories = ["EagleVM/headers"]
sources = [
"EagleVM/**.cpp",
"EagleVM/**.h"
]
compile-features = ["cxx_std_23"]
link-libraries = ["EagleVMCore"]
[target.EagleVMCore]
type = "library"
include-directories = ["EagleVM.Core/headers"]
sources = [
"EagleVM.Core/**.cpp",
"EagleVM.Core/**.h"
]
compile-features = ["cxx_std_23"]
link-libraries = ["Zydis", "linux-pe"]
msvc.compile-options = ["/MP", "/permissive-", "/sdl", "/W4", "/Zc:inline", "/Zc:wchar_t", "$<$<CONFIG:Debug>:/FC;/JMC>", "$<$<NOT:$<CONFIG:Debug>>:/Gy;/O1;/Os>"]
msvc.link-options = ["/INCREMENTAL:NO"]
[target.EagleVMStub]
type = "shared"
include-directories = ["EagleVM.Stub/Headers"]
sources = [
"EagleVM.Stub/**.cpp",
"EagleVM.Stub/**.h"
]
compile-features = ["cxx_std_23"]
[target.EagleVMSandbox]
type = "executable"
sources = [
"EagleVM.Sandbox/**.cpp",
"EagleVM.Sandbox/**.h"
]
compile-features = ["cxx_std_23"]
link-options = ["/DEBUG:FULL"]
link-libraries = ["EagleVMStub"]
[target.EagleVMTests]
type = "executable"
sources = [
"EagleVM.Tests/source/**.cpp",
"EagleVM.Tests/headers/**.h",
]
include-directories = ["EagleVM.Tests/headers"]
compile-features = ["cxx_std_23"]
link-libraries = ["EagleVMCore", "nlohmann_json", "Zydis", "spdlog::spdlog"]
msvc.link-options = ["/DYNAMICBASE:NO"]