jamie/CMakePresets.json

38 lines
1.3 KiB
JSON

{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20
},
"configurePresets": [
{
"name": "release",
"displayName": "Build for nRF52840 Dongle NRF52840",
"generator": "Ninja",
"binaryDir": "${sourceDir}/release",
"cacheVariables": {
"NCS_TOOLCHAIN_VERSION": "NONE",
"BOARD": "nrf52840dongle_nrf52840",
"BOARD_ROOT": "${sourceDir}/",
"CONFIG_SIZE_OPTIMIZATIONS": "y",
"CONF_FILE": "${sourceDir}/prj_release.conf",
"DTC_OVERLAY_FILE": "${sourceDir}/boards/nrf52840dongle_nrf52840.overlay"
}
},
{
"name": "debug",
"displayName": "Build for nRF52840 Dongle NRF52840",
"generator": "Ninja",
"binaryDir": "${sourceDir}/debug",
"cacheVariables": {
"NCS_TOOLCHAIN_VERSION": "NONE",
"BOARD": "nrf52840dongle_nrf52840",
"BOARD_ROOT": "${sourceDir}/",
"CONFIG_DEBUG_OPTIMIZATIONS": "y",
"CONFIG_DEBUG_THREAD_INFO": "y",
"CONF_FILE": "${sourceDir}/prj_debug.conf",
"DTC_OVERLAY_FILE": "${sourceDir}/boards/nrf52840dongle_nrf52840.overlay"
}
}
]
}