Release config
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
"configurePresets": [
|
"configurePresets": [
|
||||||
{
|
{
|
||||||
"name": "debug-gcc",
|
"name": "debug-gcc",
|
||||||
"displayName": "debug-gcc",
|
|
||||||
"description": "Using compilers: C = /usr/bin/gcc, CXX = /usr/bin/g++",
|
|
||||||
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
||||||
@@ -15,22 +13,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "release-gcc",
|
"name": "release-gcc",
|
||||||
"description": "",
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
||||||
"displayName": "",
|
|
||||||
"inherits": [
|
|
||||||
"debug-gcc"
|
|
||||||
],
|
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
||||||
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
||||||
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
|
||||||
"CMAKE_BUILD_TYPE": "Release"
|
"CMAKE_BUILD_TYPE": "Release"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"buildPresets": [
|
|
||||||
{
|
|
||||||
"name": "release-gcc",
|
|
||||||
"description": "",
|
|
||||||
"displayName": "",
|
|
||||||
"configurePreset": "release-gcc"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user