{
  "version": 6,
  "configurePresets": [
    {
      "name": "release",
      "displayName": "Release",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Release",
        "ENABLE_ENCODER": "OFF"
      }
    },
    {
      "name": "fuzzing",
      "displayName": "Fuzzing (libFuzzer)",
      "binaryDir": "${sourceDir}/build-fuzzing",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Debug",
        "CMAKE_C_COMPILER": "clang",
        "CMAKE_CXX_COMPILER": "clang++",
        "BUILD_SHARED_LIBS": "OFF",
        "WITH_FUZZERS": "ON",
        "ENABLE_ENCODER": "OFF",
        "ENABLE_SDL": "OFF"
      }
    },
    {
      "name": "afl",
      "displayName": "Fuzzing (AFL++)",
      "binaryDir": "${sourceDir}/build-afl",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Debug",
        "CMAKE_C_COMPILER": "afl-cc",
        "CMAKE_CXX_COMPILER": "afl-c++",
        "BUILD_SHARED_LIBS": "OFF",
        "ENABLE_DECODER": "ON",
        "ENABLE_ENCODER": "OFF",
        "ENABLE_SDL": "OFF"
      }
    }
  ]
}
