-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCMakePresets.json
42 lines (42 loc) · 1.28 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
{
"version": 10,
"configurePresets": [
{
"name": "bt_keyboard",
"displayName": "BTKeyboard",
"description": "Build for BTKeyboard",
"binaryDir": "${sourceDir}/build",
"inherits": [
"esp-idf"
]
},
{
"name": "esp-idf",
"binaryDir": "${sourceDir}/build",
"displayName": "ESP-IDF Build",
"description": "Build for ESP32 using ESP-IDF",
"generator": "Ninja",
"hidden": true,
"environment": {
"IDF_TARGET": "esp32"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{IDF_PATH}/tools/cmake/toolchain-esp32.cmake",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TYPE": "INKPLATE_BUILD",
"SDKCONFIG": "${sourceDir}/build/sdkconfig"
}
}
],
"buildPresets": [
{
"name": "bt_keyboard",
"description": "BTKeyboard",
"displayName": "BTKeyboard",
"configurePreset": "bt_keyboard"
}
]
}