group("third_party")
project("volk")
  uuid("C9781C93-2DF5-47A2-94EE-2C5EBED61239")
  kind("StaticLib")
  language("C")

  defines({
    "_LIB",
    "API_NAME=\"vulkan\"",
  })
  removedefines({
    "_UNICODE",
    "UNICODE",
  })
  includedirs({
      "volk",
  })
  files({
      "volk/volk.c",
      "volk/volk.h",
  })

  filter("platforms:Windows")
    defines({
      "VK_USE_PLATFORM_WIN32_KHR",
    })
  filter("platforms:Linux")
    defines({
      "VK_USE_PLATFORM_XCB_KHR",
    })
