|
|
@ -8,16 +8,29 @@ |
|
|
"configurePresets": [ |
|
|
"configurePresets": [ |
|
|
{ |
|
|
{ |
|
|
"name": "default", |
|
|
"name": "default", |
|
|
"displayName": "Default configuration", |
|
|
|
|
|
|
|
|
"displayName": "Debug configuration", |
|
|
"description": "Use this preset to build the project using PSn00bSDK.", |
|
|
"description": "Use this preset to build the project using PSn00bSDK.", |
|
|
"generator": "Ninja", |
|
|
"generator": "Ninja", |
|
|
"binaryDir": "${sourceDir}/build", |
|
|
|
|
|
|
|
|
"binaryDir": "${sourceDir}/build/debug", |
|
|
"cacheVariables": { |
|
|
"cacheVariables": { |
|
|
"CMAKE_BUILD_TYPE": "Debug", |
|
|
"CMAKE_BUILD_TYPE": "Debug", |
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake", |
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake", |
|
|
"PSN00BSDK_TC": "", |
|
|
"PSN00BSDK_TC": "", |
|
|
"PSN00BSDK_TARGET": "mipsel-none-elf" |
|
|
"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" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
} |
|
|
} |