Browse Source

Added debug and release build configurations

tess_experiment
Nico de Poel 3 years ago
parent
commit
90d18c3876
  1. 17
      CMakePresets.json

17
CMakePresets.json

@ -8,16 +8,29 @@
"configurePresets": [
{
"name": "default",
"displayName": "Default configuration",
"displayName": "Debug configuration",
"description": "Use this preset to build the project using PSn00bSDK.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake",
"PSN00BSDK_TC": "",
"PSN00BSDK_TARGET": "mipsel-none-elf"
}
},
{
"name": "release",
"displayName": "Release configuration",
"description": "Use this preset to build the project using PSn00bSDK.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake",
"PSN00BSDK_TC": "",
"PSN00BSDK_TARGET": "mipsel-none-elf"
}
}
]
}
Loading…
Cancel
Save