-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakePresets.json
46 lines (43 loc) · 1.22 KB
/
CMakePresets.json
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
{
"version": 3,
"configurePresets": [
{
"name": "BASE",
"displayName": "BASE",
"description": "Default build arguments",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"toolchainFile": "${sourceDir}/toolchain/cmake/GCC.cmake"
},
{
"name": "windows",
"displayName": "Port - windows",
"description": "Building the exe file for Windows",
"inherits": "BASE",
"cacheVariables": {
"PORT": "windows"
}
},
{
"name": "stm32f4",
"displayName": "Port - stm32f4",
"description": "Building the elf file for stm32f4",
"inherits": "BASE",
"cacheVariables": {
"PORT": "stm32f4"
}
},
{
"name": "demo",
"displayName": "Port - demo",
"description": "Building the exe file for showcase demo",
"inherits": "BASE",
"cacheVariables": {
"PORT": "demo"
}
}
]
}