{
  "version": 6,
  "cmakeMinimumRequired": {
    "major": 3,
    "minor": 27,
    "patch": 0
  },
  "include": [
    "cmake-preset-files/base-presets.json"
  ],
  "configurePresets": [
    {
      "name": "linux/release",
      "displayName": "[linux-x86/64] Release",
      "binaryDir": "${sourceDir}/cmake-build-linux/release",
      "inherits": [
        "base/linux-only",
        "base/buildBaseWithVcpkg",
        "base/release",
        "base/allow_version_override_from_env"
      ]
    },
    {
      "name": "linux/release/ci/with-ccache",
      "binaryDir": "${sourceDir}/cmake-build-linux/release",
      "inherits": [
        "linux/release",
        "base/linuxCcache"
      ]
    },
    {
      "name": "linux/release/ci/with-ccache/compact-zero",
      "binaryDir": "${sourceDir}/cmake-build-linux/release-compact-zero",
      "inherits": [
        "linux/release/ci/with-ccache",
        "base/compact-zero-mode"
      ]
    },
    {
      "name": "linux/sandbox",
      "displayName": "[linux-x86/64] Sandbox (no network, system deps only)",
      "binaryDir": "${sourceDir}/cmake-build-linux/sandbox",
      "inherits": [
        "base",
        "base/linux-only",
        "base/release",
        "base/sandbox-features-disabled",
        "base/allow_version_override_from_env"
      ],
      "cacheVariables": {
        "ASYMPTOTE_SYSDIR_VALUE": "${sourceDir}/cmake-build-linux/sandbox/base"
      }
    },
    {
      "name": "msvc/release",
      "displayName": "[MSVC-x86/64] Release",
      "binaryDir": "${sourceDir}/cmake-build-msvc/release",
      "inherits": [
        "base/buildBaseWithVcpkg",
        "base/release",
        "base/gccCompatCacheVar",
        "base/windows-only",
        "base/ensure-cl-compiler",
        "base/allow_version_override_from_env"
      ],
      "cacheVariables": {
        "CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-install-w32-nsis-release"
      }
    },
    {
      "name": "msvc/release/ci/with-external-asymptote-pdf",
      "inherits": [
        "msvc/release"
      ],
      "cacheVariables": {
        "ENABLE_ASYMPTOTE_PDF_DOCGEN": "false",
        "EXTERNAL_DOCUMENTATION_DIR": "${sourceDir}/asydoc"
      }
    },
    {
      "name": "msvc/release/with-external-doc-files",
      "inherits": [
        "msvc/release/ci/with-external-asymptote-pdf"
      ],
      "cacheVariables": {
        "ENABLE_DOCGEN": "false",
        "ENABLE_MISCFILES_GEN": "false"
      }
    }
  ],
  "buildPresets": [
    {
      "name": "msvc/release",
      "displayName": "[MSVC-x86/64] Release",
      "inherits": [
        "build-base/windows-only"
      ],
      "configurePreset": "msvc/release"
    },
    {
      "name": "linux/release",
      "displayName": "[linux-x86/64] Release",
      "configurePreset": "linux/release",
      "inherits": [
        "build-base/linux-only"
      ]
    },
    {
      "name": "linux/release/ci/with-ccache",
      "configurePreset": "linux/release/ci/with-ccache",
      "inherits": [
        "build-base/linux-only"
      ]
    },
    {
      "name": "linux/release/ci/with-ccache/compact-zero",
      "configurePreset": "linux/release/ci/with-ccache/compact-zero",
      "inherits": [
        "build-base/linux-only"
      ]
    },
    {
      "name": "linux/sandbox",
      "displayName": "[linux-x86/64] Sandbox",
      "configurePreset": "linux/sandbox",
      "inherits": [
        "build-base/linux-only"
      ]
    }
  ]
}
