2023-08-13 17:51:57 +00:00
|
|
|
{
|
|
|
|
"version": 3,
|
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
"major": 3,
|
|
|
|
"minor": 21,
|
|
|
|
"patch": 0
|
|
|
|
},
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
|
|
|
"name": "CI",
|
|
|
|
"description": "Base configuration for CI pipeline",
|
|
|
|
"hidden": true,
|
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
"installDir": "${sourceDir}/install"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Windows-CI",
|
|
|
|
"description": "Windows configuration for CI pipeline",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"inherits": ["CI"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_C_COMPILER": "cl.exe",
|
|
|
|
"CMAKE_CXX_COMPILER": "cl.exe",
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
|
|
"USE_STATIC_RUNTIME": true,
|
|
|
|
"CBOT_STATIC": true,
|
|
|
|
"GLEW_STATIC": true,
|
|
|
|
"SNDFILE_STATIC": true,
|
|
|
|
"DEV_BUILD": true,
|
|
|
|
"PORTABLE": true,
|
|
|
|
"TOOLS": true,
|
|
|
|
"TESTS": true,
|
|
|
|
"DESKTOP": true
|
|
|
|
}
|
2023-08-13 18:22:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Linux-CI",
|
|
|
|
"description": "Linux configuration for CI pipeline",
|
|
|
|
"inherits": ["CI"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_SKIP_INSTALL_RPATH": true,
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
|
|
"DEV_BUILD": true,
|
|
|
|
"PORTABLE": true,
|
|
|
|
"TOOLS": true,
|
|
|
|
"TESTS": true,
|
|
|
|
"DESKTOP": true
|
|
|
|
}
|
2023-08-13 20:36:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "MacOS-CI",
|
|
|
|
"description": "MacOS configuration for CI pipeline",
|
|
|
|
"inherits": ["CI"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_SKIP_INSTALL_RPATH": true,
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
|
|
"DEV_BUILD": true,
|
|
|
|
"PORTABLE": true,
|
|
|
|
"TESTS": true,
|
|
|
|
"DESKTOP": true,
|
|
|
|
"OPENAL_LIBRARY": "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenAL.framework/OpenAL.tbd"
|
|
|
|
}
|
2023-08-13 17:51:57 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"buildPresets": [
|
|
|
|
{
|
|
|
|
"name": "Windows-CI",
|
|
|
|
"configurePreset": "Windows-CI",
|
|
|
|
"configuration": "RelWithDebInfo"
|
2023-08-13 18:44:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Linux-CI",
|
|
|
|
"configurePreset": "Linux-CI",
|
|
|
|
"configuration": "RelWithDebInfo"
|
2023-08-13 20:36:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "MacOS-CI",
|
|
|
|
"configurePreset": "MacOS-CI",
|
|
|
|
"configuration": "RelWithDebInfo"
|
2023-08-13 17:51:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|