Windows build fixes and Windows inclusion in core releases (#3581)

This commit is contained in:
tdcosta100
2025-06-24 12:46:08 -03:00
committed by GitHub
parent f2a6e2cff2
commit 32302a4c19
11 changed files with 202 additions and 281 deletions

View File

@@ -129,6 +129,71 @@
"MLN_CORE_INCLUDE_DEPS": "ON",
"MLN_USE_BUILTIN_ICU": "ON"
}
},
{
"name": "windows",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Windows",
"MLN_WITH_OPENGL": "OFF",
"MLN_WITH_EGL": "OFF",
"MLN_WITH_VULKAN": "OFF",
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "windows-opengl",
"binaryDir": "${sourceDir}/build-windows-opengl",
"generator": "Ninja",
"inherits": "windows",
"cacheVariables": {
"MLN_WITH_OPENGL": "ON"
}
},
{
"name": "windows-opengl-core",
"inherits": "windows-opengl",
"cacheVariables": {
"MLN_CORE_INCLUDE_DEPS": "ON",
"MLN_USE_BUILTIN_ICU": "ON"
}
},
{
"name": "windows-egl",
"binaryDir": "${sourceDir}/build-windows-egl",
"generator": "Ninja",
"inherits": "windows",
"cacheVariables": {
"MLN_WITH_OPENGL": "ON",
"MLN_WITH_EGL": "ON"
}
},
{
"name": "windows-egl-core",
"inherits": "windows-egl",
"cacheVariables": {
"MLN_CORE_INCLUDE_DEPS": "ON",
"MLN_USE_BUILTIN_ICU": "ON"
}
},
{
"name": "windows-vulkan",
"binaryDir": "${sourceDir}/build-windows-vulkan",
"inherits": "windows",
"cacheVariables": {
"MLN_WITH_OPENGL": "OFF",
"MLN_WITH_EGL": "OFF",
"MLN_WITH_VULKAN": "ON"
}
},
{
"name": "windows-vulkan-core",
"inherits": "windows-vulkan",
"cacheVariables": {
"MLN_CORE_INCLUDE_DEPS": "ON",
"MLN_USE_BUILTIN_ICU": "ON"
}
}
],
"buildPresets": [
@@ -146,6 +211,21 @@
"name": "linux-vulkan-core",
"configurePreset": "linux-vulkan",
"targets": ["mbgl-core"]
},
{
"name": "windows-opengl-core",
"configurePreset": "windows-opengl",
"targets": ["mbgl-core"]
},
{
"name": "windows-egl-core",
"configurePreset": "windows-egl",
"targets": ["mbgl-core"]
},
{
"name": "windows-vulkan-core",
"configurePreset": "windows-vulkan",
"targets": ["mbgl-core"]
}
]
}