36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"version": 8,
|
|
"configurePresets": [
|
|
{
|
|
"name": "debug-gcc",
|
|
"displayName": "debug-gcc",
|
|
"description": "Using compilers: C = /usr/bin/gcc, CXX = /usr/bin/g++",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "release-gcc",
|
|
"description": "",
|
|
"displayName": "",
|
|
"inherits": [
|
|
"debug-gcc"
|
|
],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "release-gcc",
|
|
"description": "",
|
|
"displayName": "",
|
|
"configurePreset": "release-gcc"
|
|
}
|
|
]
|
|
} |