diff --git a/CMakePresets.json b/CMakePresets.json index d08b334..2e3248f 100644 --- a/CMakePresets.json +++ b/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" + } } ] }