{
    "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"
            }
        }
    ]
}
