77 lines
2.5 KiB
JSON
77 lines
2.5 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "windows-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"installDir": "${sourceDir}/out/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_C_COMPILER": "cl.exe",
|
|
"CMAKE_CXX_COMPILER": "cl.exe",
|
|
"ODE_WITH_DEMOS": false
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-debug",
|
|
"displayName": "A.Windows x64 Debug",
|
|
"inherits": "windows-base",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-release",
|
|
"displayName": "A.Windows x64 Release",
|
|
"inherits": "x64-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "x86-debug",
|
|
"displayName": "A.Windows x86 Debug",
|
|
"inherits": "windows-base",
|
|
"architecture": {
|
|
"value": "x86",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "x86-release",
|
|
"displayName": "A.Windows x86 Release",
|
|
"inherits": "x86-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "Clang20",
|
|
"displayName": "Clang 20.1.0 x86_64-pc-linux-gnu",
|
|
"description": "正在使用编译器: C = /usr/bin/clang-20, CXX = /usr/bin/clang++-20",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"CMAKE_C_COMPILER": "/usr/bin/clang-20",
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/clang++-20",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_CXX_STANDARD": "23",
|
|
"CMAKE_CXX_STANDARD_REQUIRED": true,
|
|
"ODE_WITH_DEMOS": false
|
|
}
|
|
}
|
|
]
|
|
} |