-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakePresets.json
37 lines (37 loc) · 1.35 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
{
"version": 2,
"configurePresets": [
{
"name": "armclang",
"displayName": "build with ARMCLANG",
"description": "",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": "OFF",
"CMAKE_C_COMPILER_WORKS": true,
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}",
"C_COMPILER_ID": "ARMCLANG",
"TOOLCHAIN_PATH": "C:/Keil_v5/ARM/ARMCLANG"
}
},
{
"name": "gcc",
"displayName": "build with GCC",
"description": "",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": "OFF",
"CMAKE_C_COMPILER_WORKS": true,
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}",
"C_COMPILER_ID": "GCC",
"TOOLCHAIN_PATH": "C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin"
}
}
]
}