Update CMakePresets.json and docs for macOS (#3909)

This commit is contained in:
Bart Louwers
2025-10-28 20:21:44 +01:00
committed by GitHub
parent 512e02410b
commit a13472a410
4 changed files with 29 additions and 9 deletions

View File

@@ -19,19 +19,28 @@
"CMAKE_OSX_DEPLOYMENT_TARGET": "14.0",
"MLN_WITH_METAL": "ON",
"MLN_WITH_OPENGL": "OFF"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "macos",
"displayName": "macOS",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-macos",
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Darwin",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_OSX_DEPLOYMENT_TARGET": "14.3",
"CMAKE_BUILD_TYPE": "Debug",
"MLN_DARWIN_USE_LIBUV": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
@@ -122,6 +131,11 @@
"MLN_WITH_CLANG_TIDY": "OFF",
"MLN_WITH_WAYLAND": "ON",
"MLN_WITH_X11": "OFF"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
@@ -189,6 +203,11 @@
"MLN_WITH_EGL": "OFF",
"MLN_WITH_VULKAN": "OFF",
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{