forked from lifting-bits/remill
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
131 lines (131 loc) · 4.35 KB
/
CMakePresets.json
File metadata and controls
131 lines (131 loc) · 4.35 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "debug-flags",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_FLAGS": "-fno-omit-frame-pointer -fno-optimize-sibling-calls -gfull -O0",
"CMAKE_CXX_FLAGS": "-fno-omit-frame-pointer -fno-optimize-sibling-calls -gfull -O0"
}
},
{
"name": "release-flags",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "arm64",
"hidden": true,
"environment": {
"VCPKG_ARCH": "arm64"
},
"architecture": {
"value": "arm64",
"strategy": "external"
}
},
{
"name": "x86_64",
"hidden": true,
"environment": {
"VCPKG_ARCH": "x64"
},
"architecture": {
"value": "x64",
"strategy": "external"
}
},
{
"name": "vcpkg-common",
"hidden": true,
"binaryDir": "$env{INSTALL_DIR}/build/remill",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "$env{VCPKG_TARGET_TRIPLET}",
"CMAKE_TOOLCHAIN_FILE": "$env{CMAKE_TOOLCHAIN_FILE}",
"CMAKE_INSTALL_PREFIX": "$env{INSTALL_DIR}/install"
}
},
{
"name": "vcpkg-debug",
"hidden": true,
"inherits": ["debug-flags", "vcpkg-common"]
},
{
"name": "vcpkg-release",
"hidden": true,
"inherits": ["release-flags", "vcpkg-common"]
},
{
"name": "vcpkg-x64-dbg",
"inherits": ["vcpkg-debug", "x86_64"],
"displayName": "Debug Build (vcpkg) (x64)",
"description": "Build a Debug version against a VCPKG installation. Define 'CMAKE_TOOLCHAIN_FILE', 'INSTALL_DIR', 'VCPKG_TARGET_TRIPLET' env vars!"
},
{
"name": "vcpkg-x64-rel",
"inherits": ["vcpkg-release", "x86_64"],
"displayName": "Release Build (vcpkg) (x64)",
"description": "Build a Release version against a VCPKG installation. Define 'CMAKE_TOOLCHAIN_FILE', 'INSTALL_DIR', 'VCPKG_TARGET_TRIPLET' env vars!"
},
{
"name": "vcpkg-arm64-dbg",
"inherits": ["vcpkg-debug", "arm64"],
"displayName": "Debug Build (vcpkg) (arm64)",
"description": "Build a Debug version against a VCPKG installation. Define 'CMAKE_TOOLCHAIN_FILE', 'INSTALL_DIR', 'VCPKG_TARGET_TRIPLET' env vars!"
},
{
"name": "vcpkg-arm64-rel",
"inherits": ["vcpkg-release", "arm64"],
"displayName": "Release Build (vcpkg) (arm64)",
"description": "Build a Release version against a VCPKG installation. Define 'CMAKE_TOOLCHAIN_FILE', 'INSTALL_DIR', 'VCPKG_TARGET_TRIPLET' env vars!"
}
],
"buildPresets": [
{
"name": "build-base-debug",
"hidden": true,
"description": "Build in Debug mode",
"configuration": "Debug"
},
{
"name": "build-base-release",
"hidden": true,
"description": "Build in Release mode",
"configuration": "Release"
},
{
"name": "x64-dbg",
"configurePreset": "vcpkg-x64-dbg",
"displayName": "Build (debug) (x64)",
"inherits": ["build-base-debug"]
},
{
"name": "x64-rel",
"configurePreset": "vcpkg-x64-rel",
"displayName": "Build (release) (x64)",
"inherits": ["build-base-release"]
},
{
"name": "arm64-dbg",
"configurePreset": "vcpkg-arm64-dbg",
"displayName": "Build (debug) (arm64)",
"inherits": ["build-base-debug"]
},
{
"name": "arm64-rel",
"configurePreset": "vcpkg-arm64-rel",
"displayName": "Build (release) (arm64)",
"inherits": ["build-base-release"]
}
]
}