{
  "version": 6,
  "include": [
    "config/cmake-presets/hidden-presets.json"
  ],
  "configurePresets": [
    {
      "name": "ci-base-examples",
      "hidden": true,
      "cacheVariables": {
        "CPACK_PACKAGE_VERSION": "3.10.2",
        "HDF4_NAMESPACE": {"type": "STRING", "value": "hdf4::"},
        "HDF4_PACKAGE_NAME": {"type": "STRING", "value": "hdf4"},
        "H4EX_BUILD_TESTING": "ON"
      }
    },
    {
      "name": "ci-StdJava",
      "hidden": true,
      "cacheVariables": {
        "H4EX_BUILD_JAVA": "ON"
      }
    },
    {
      "name": "ci-StdFortran",
      "hidden": true,
      "cacheVariables": {
        "H4EX_BUILD_FORTRAN": "OFF"
      }
    },
    {
      "name": "ci-StdShar",
      "hidden": true,
      "inherits": ["ci-base", "ci-base-examples"],
      "cacheVariables": {
        "BUILD_SHARED_LIBS": "ON",
        "USE_SHARED_LIBS": "ON"
      }
    },
    {
      "name": "ci-StdShar-MSVC",
      "description": "MSVC Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-MSVC",
        "ci-StdJava",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "description": "Clang Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-Clang",
        "ci-StdJava",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "description": "GNUC Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-GNUC",
        "ci-StdJava",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-macos-Clang",
      "description": "Clang Standard Config for macos (Release)",
      "inherits": [
        "ci-macos-arm64-Release-Clang",
        "ci-StdJava",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-macos-GNUC",
      "description": "GNUC Standard Config for macos (Release)",
      "inherits": [
        "ci-macos-arm64-Release-GNUC",
        "ci-StdJava",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-Intel",
      "description": "Intel Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-Intel",
        "ci-StdJava",
        "ci-StdShar"
      ]
    }
  ],
  "buildPresets": [
    {
      "name": "ci-StdShar-MSVC",
      "description": "MSVC Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-MSVC",
      "inherits": [
        "ci-x64-Release-MSVC"
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "description": "Clang Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-Clang",
      "inherits": [
        "ci-x64-Release-Clang"
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "description": "GNUC Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-GNUC",
      "verbose": true,
      "inherits": [
        "ci-x64-Release-GNUC"
      ]
    },
    {
      "name": "ci-StdShar-macos-Clang",
      "description": "Clang Standard Build for macos-arm64 (Release)",
      "configurePreset": "ci-StdShar-macos-Clang",
      "inherits": [
        "ci-macos-arm64-Release-Clang"
      ]
    },
    {
      "name": "ci-StdShar-macos-GNUC",
      "description": "GNUC Standard Build for macos-arm64 (Release)",
      "configurePreset": "ci-StdShar-macos-GNUC",
      "verbose": true,
      "inherits": [
        "ci-macos-arm64-Release-GNUC"
      ]
    },
    {
      "name": "ci-StdShar-Intel",
      "description": "Intel Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-Intel",
      "verbose": true,
      "inherits": [
        "ci-x64-Release-Intel"
      ]
    }
  ],
  "testPresets": [
    {
      "name": "ci-StdShar-MSVC",
      "configurePreset": "ci-StdShar-MSVC",
      "inherits": [
        "ci-x64-Release-MSVC"
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "configurePreset": "ci-StdShar-Clang",
      "inherits": [
        "ci-x64-Release-Clang"
      ]
    },
    {
      "name": "ci-StdShar-macos-Clang",
      "configurePreset": "ci-StdShar-macos-Clang",
      "inherits": [
        "ci-macos-arm64-Release-Clang"
      ],
      "execution": {
        "noTestsAction": "error",
        "timeout": 180,
        "jobs": 2
      }
    },
    {
      "name": "ci-StdShar-macos-GNUC",
      "configurePreset": "ci-StdShar-macos-GNUC",
      "inherits": [
        "ci-macos-arm64-Release-GNUC"
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "configurePreset": "ci-StdShar-GNUC",
      "inherits": [
        "ci-x64-Release-GNUC"
      ]
    },
    {
      "name": "ci-StdShar-win-Intel",
      "configurePreset": "ci-StdShar-Intel",
      "inherits": [
        "ci-x64-Release-Intel"
      ],
      "condition": {
        "type": "equals",
        "lhs": "${hostSystemName}",
        "rhs": "Windows"
      }
    },
    {
      "name": "ci-StdShar-Intel",
      "configurePreset": "ci-StdShar-Intel",
      "inherits": [
        "ci-x64-Release-Intel"
      ]
    }
  ],
  "workflowPresets": [
    {
      "name": "ci-StdShar-MSVC",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-MSVC"},
        {"type": "build", "name": "ci-StdShar-MSVC"},
        {"type": "test", "name": "ci-StdShar-MSVC"}
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-Clang"},
        {"type": "build", "name": "ci-StdShar-Clang"},
        {"type": "test", "name": "ci-StdShar-Clang"}
      ]
    },
    {
      "name": "ci-StdShar-macos-Clang",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-macos-Clang"},
        {"type": "build", "name": "ci-StdShar-macos-Clang"},
        {"type": "test", "name": "ci-StdShar-macos-Clang"}
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-GNUC"},
        {"type": "build", "name": "ci-StdShar-GNUC"},
        {"type": "test", "name": "ci-StdShar-GNUC"}
      ]
    },
    {
      "name": "ci-StdShar-macos-GNUC",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-macos-GNUC"},
        {"type": "build", "name": "ci-StdShar-macos-GNUC"},
        {"type": "test", "name": "ci-StdShar-macos-GNUC"}
      ]
    },
    {
      "name": "ci-StdShar-Intel",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-Intel"},
        {"type": "build", "name": "ci-StdShar-Intel"},
        {"type": "test", "name": "ci-StdShar-Intel"}
      ]
    },
    {
      "name": "ci-StdShar-win-Intel",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-Intel"},
        {"type": "build", "name": "ci-StdShar-Intel"},
        {"type": "test", "name": "ci-StdShar-win-Intel"}
      ]
    }
  ]
}
