You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
5.6 KiB
JSON

{
"version": 3,
"configurePresets": [
{
"name": "third-x86",
"hidden": true,
"description": "Third-party dependencies for x86",
"cacheVariables": {
"Use_Presets": "ON",
"third_lib_directory": "D:/Projects/ThidLibrary/msvc2015"
}
},
{
"name": "third-x64",
"hidden": true,
"description": "Third-party dependencies for x64",
"cacheVariables": {
"Use_Presets": "ON",
"third_lib_directory": "D:/Projects/ThidLibrary/msvc2015_64"
}
},
{
"name": "windows-qt-5.12-x64",
"description": "Qt5.12 x64",
"hidden": true,
"inherits": "third-x64",
"cacheVariables": {
"Qt5_12_12": "ON",
"Qt5_DIR": "D:/Qt/Qt5.12.12/5.12.12/msvc2015_64/lib/cmake/Qt5"
}
},
{
"name": "windows-qt-5.9.9-x86",
"description": "Qt5.9.9 x86",
"hidden": true,
"inherits": "third-x86",
"cacheVariables": {
"Qt5_DIR": "D:/Qt/Qt5.9.9/5.9.9/msvc2015/lib/cmake/Qt5"
}
},
{
"name": "windows-qt-5.9.9-x64",
"description": "Qt5.9.9 x64",
"hidden": true,
"inherits": "third-x64",
"cacheVariables": {
"Qt5_DIR": "D:/Qt/Qt5.9.9/5.9.9/msvc2015_64/lib/cmake/Qt5"
}
},
{
"name": "windows-base-2015",
"description": "面向具有 Visual Studio 开发环境的 Windows。",
"hidden": true,
"generator": "Visual Studio 14 2015",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/install/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "windows-base-2015-qt12.12",
"description": "面向具有 Visual Studio 开发环境的 Windows。",
"hidden": true,
"generator": "Visual Studio 14 2015",
"binaryDir": "${sourceDir}/build_qt5.12/${presetName}",
"installDir": "${sourceDir}/install_qt5.12/${presetName}",
"inherits": [ "windows-qt-5.12-x64", "third-x64" ],
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-debug-qt5.12",
"displayName": "x64 Debug 5.12",
"description": "使用 Visual Studio 开发环境定向到 Windows (64 位)。(Debug)",
"inherits": "windows-base-2015-qt12.12",
"architecture": {
"value": "X64",
"strategy": "set"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CONFIGURATION_TYPES": "Debug",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": "D:/output/${presetName}"
}
},
{
"name": "x64-release-qt5.12",
"displayName": "x64 Release 5.12",
"description": "使用 Visual Studio 开发环境定向到 Windows (64 位)。(RelWithDebInfo)",
"inherits": "x64-debug-qt5.12",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_RelWithDebInfo": "D:/output/${presetName}"
}
},
{
"name": "x64-debug",
"displayName": "x64 Debug",
"description": "使用 Visual Studio 开发环境定向到 Windows (64 位)。(Debug)",
"inherits": [ "windows-base-2015", "windows-qt-5.9.9-x64" ],
"architecture": {
"value": "X64",
"strategy": "set"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CONFIGURATION_TYPES": "Debug",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": "D:/output/${presetName}"
}
},
{
"name": "x64-debug-new",
"displayName": "x64-debug-new",
"description": "Qt5.9.9的x64",
"inherits": [ "windows-base-2015", "windows-qt-5.9.9-x64" ],
"architecture": {
"value": "X64",
"strategy": "set"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CONFIGURATION_TYPES": "Debug",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": "D:/output_new/x64-debug"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"description": "使用 Visual Studio 开发环境定向到 Windows (64 位)。(RelWithDebInfo)",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_RelWithDebInfo": "D:/output/${presetName}"
}
},
{
"name": "x86-debug",
"displayName": "x86 Debug",
"description": "用 Visual Studio 开发环境定向到 Windows (32 位)。(Debug)",
"inherits": [ "windows-base-2015", "windows-qt-5.9.9-x86" ],
"architecture": {
"value": "Win32",
"strategy": "set"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CONFIGURATION_TYPES": "Debug",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": "D:/output/${presetName}"
}
},
{
"name": "x86-release",
"displayName": "x86 Release",
"description": "用 Visual Studio 开发环境定向到 Windows (32 位)。(RelWithDebInfo)",
"inherits": "x86-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_RelWithDebInfo": "D:/output/${presetName}"
}
}
]
}