63 lines
1.6 KiB
JSON
63 lines
1.6 KiB
JSON
{
|
|
"version": 6,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 25,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "MinGW_64_Debug",
|
|
"displayName": "Qt 6.8.3 MinGW Debug",
|
|
"description": "Qt 6.8.3 + MinGW 13.1.0 Debug 构建(日常开发)",
|
|
"generator": "MinGW Makefiles",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_PREFIX_PATH": "D:/Qt/6.8.3/mingw_64"
|
|
},
|
|
"environment": {
|
|
"PATH": "D:/Qt/6.8.3/mingw_64/bin;D:/Qt/Tools/mingw1310_64/bin;$penv{PATH}"
|
|
}
|
|
},
|
|
{
|
|
"name": "MinGW_64_Release",
|
|
"displayName": "Qt 6.8.3 MinGW Release",
|
|
"description": "Qt 6.8.3 + MinGW 13.1.0 Release 构建(发布打包)",
|
|
"generator": "MinGW Makefiles",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_PREFIX_PATH": "D:/Qt/6.8.3/mingw_64"
|
|
},
|
|
"environment": {
|
|
"PATH": "D:/Qt/6.8.3/mingw_64/bin;D:/Qt/Tools/mingw1310_64/bin;$penv{PATH}"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "MinGW_64_Debug",
|
|
"displayName": "Qt 6.8.3 MinGW Debug",
|
|
"configurePreset": "MinGW_64_Debug"
|
|
},
|
|
{
|
|
"name": "MinGW_64_Release",
|
|
"displayName": "Qt 6.8.3 MinGW Release",
|
|
"configurePreset": "MinGW_64_Release"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "MinGW_64_Debug",
|
|
"configurePreset": "MinGW_64_Debug",
|
|
"output": {
|
|
"outputOnFailure": true
|
|
},
|
|
"execution": {
|
|
"noTestsAction": "error"
|
|
}
|
|
}
|
|
]
|
|
}
|