mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 03:20:41 +08:00
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"displayName": "Default Config",
|
|
"description": "Default build for any desktop OS",
|
|
"binaryDir": "${sourceDir}/build-default",
|
|
"condition": {
|
|
"type": "const",
|
|
"value": true
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"DEP_WX_GTK3": true,
|
|
"DEP_DOWNLOAD_DIR": {
|
|
"type": "PATH",
|
|
"value": "${sourceDir}/.pkg_cache"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "no-occt",
|
|
"inherits": "default",
|
|
"binaryDir": "${sourceDir}/build-no-occt",
|
|
"cacheVariables": {
|
|
"PrusaSlicer_deps_PACKAGE_EXCLUDES": "OCCT"
|
|
}
|
|
},
|
|
{
|
|
"name": "mac_universal_x86",
|
|
"inherits": "default",
|
|
"binaryDir": "${sourceDir}/build-x86_64",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_OSX_ARCHITECTURES": "x86_64"
|
|
}
|
|
},
|
|
{
|
|
"name": "mac_universal_arm",
|
|
"inherits": "default",
|
|
"binaryDir": "${sourceDir}/build-arm64",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_OSX_ARCHITECTURES": "arm64"
|
|
}
|
|
}
|
|
]
|
|
}
|