-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
144 lines (137 loc) · 4.75 KB
/
Copy pathCMakePresets.json
File metadata and controls
144 lines (137 loc) · 4.75 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
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 24, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"VERNIER_BUILD_TOOLS": "ON"
}
},
{
"name": "native-linux-debug",
"displayName": "Native (Ubuntu) - Debug",
"inherits": "base",
"binaryDir": "build/native-linux-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang-21",
"CMAKE_CXX_COMPILER": "clang++-21"
}
},
{
"name": "native-linux-profile",
"displayName": "Native (Ubuntu) - Profile (gperftools/perf-friendly)",
"inherits": "base",
"binaryDir": "build/native-linux-profile",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang-21",
"CMAKE_CXX_COMPILER": "clang++-21",
"CMAKE_CXX_FLAGS": "-fno-omit-frame-pointer -gdwarf-4",
"VERNIER_USE_SPLIT_DWARF": "OFF"
}
},
{
"name": "native-linux-release",
"displayName": "Native (Ubuntu) - Release",
"inherits": "base",
"binaryDir": "build/native-linux-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "clang-21",
"CMAKE_CXX_COMPILER": "clang++-21"
}
},
{
"name": "jetson-aarch64-debug",
"displayName": "Jetson AGX Thor (aarch64) - Debug",
"inherits": "base",
"binaryDir": "build/jetson-aarch64-debug",
"toolchainFile": "cmake/toolchains/jetson-aarch64.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "OFF",
"CMAKE_PREFIX_PATH": "/opt/sysroots/jetson-thor/usr",
"VERNIER_REQUIRE_CUDA": "ON"
}
},
{
"name": "jetson-aarch64-release",
"displayName": "Jetson AGX Thor (aarch64) - Release",
"inherits": "base",
"binaryDir": "build/jetson-aarch64-release",
"toolchainFile": "cmake/toolchains/jetson-aarch64.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TESTING": "OFF",
"CMAKE_PREFIX_PATH": "/opt/sysroots/jetson-thor/usr",
"VERNIER_REQUIRE_CUDA": "ON"
}
},
{
"name": "rpi-aarch64-debug",
"displayName": "Raspberry Pi (aarch64) - Debug",
"inherits": "base",
"binaryDir": "build/rpi-aarch64-debug",
"toolchainFile": "cmake/toolchains/rpi-aarch64.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "OFF"
}
},
{
"name": "rpi-aarch64-release",
"displayName": "Raspberry Pi (aarch64) - Release",
"inherits": "base",
"binaryDir": "build/rpi-aarch64-release",
"toolchainFile": "cmake/toolchains/rpi-aarch64.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TESTING": "OFF"
}
},
{
"name": "riscv64-linux-debug",
"displayName": "RISC-V 64 (Linux) - Debug",
"inherits": "base",
"binaryDir": "build/riscv64-linux-debug",
"toolchainFile": "cmake/toolchains/riscv64-linux-gnu.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "OFF"
}
},
{
"name": "riscv64-linux-release",
"displayName": "RISC-V 64 (Linux) - Release",
"inherits": "base",
"binaryDir": "build/riscv64-linux-release",
"toolchainFile": "cmake/toolchains/riscv64-linux-gnu.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TESTING": "OFF"
}
}
],
"buildPresets": [
{ "name": "native-linux-debug", "configurePreset": "native-linux-debug" },
{ "name": "native-linux-profile", "configurePreset": "native-linux-profile" },
{ "name": "native-linux-release", "configurePreset": "native-linux-release" },
{ "name": "jetson-aarch64-debug", "configurePreset": "jetson-aarch64-debug" },
{ "name": "jetson-aarch64-release", "configurePreset": "jetson-aarch64-release" },
{ "name": "rpi-aarch64-debug", "configurePreset": "rpi-aarch64-debug" },
{ "name": "rpi-aarch64-release", "configurePreset": "rpi-aarch64-release" },
{ "name": "riscv64-linux-debug", "configurePreset": "riscv64-linux-debug" },
{ "name": "riscv64-linux-release", "configurePreset": "riscv64-linux-release" }
],
"testPresets": [
{ "name": "native-linux-debug", "configurePreset": "native-linux-debug" },
{ "name": "native-linux-release", "configurePreset": "native-linux-release" },
{ "name": "jetson-aarch64-debug", "configurePreset": "jetson-aarch64-debug" },
{ "name": "jetson-aarch64-release", "configurePreset": "jetson-aarch64-release" }
]
}