2016-02-18 01:42:25 +00:00
|
|
|
group("third_party")
|
|
|
|
project("vulkan-loader")
|
|
|
|
uuid("07d77359-1618-43e6-8a4a-0ee9ddc5fa6a")
|
|
|
|
kind("StaticLib")
|
2017-01-26 19:48:06 +00:00
|
|
|
language("C")
|
2016-02-18 01:42:25 +00:00
|
|
|
|
|
|
|
defines({
|
|
|
|
"_LIB",
|
2016-11-23 03:29:18 +00:00
|
|
|
"API_NAME=\"vulkan\"",
|
2016-02-18 01:42:25 +00:00
|
|
|
})
|
|
|
|
removedefines({
|
|
|
|
"_UNICODE",
|
|
|
|
"UNICODE",
|
|
|
|
})
|
|
|
|
includedirs({
|
|
|
|
".",
|
|
|
|
})
|
|
|
|
recursive_platform_files()
|
|
|
|
|
2017-05-12 01:09:31 +00:00
|
|
|
-- Included elsewhere
|
|
|
|
removefiles("vk_loader_extensions.c")
|
|
|
|
|
2016-02-18 01:42:25 +00:00
|
|
|
filter("platforms:Windows")
|
|
|
|
warnings("Off") -- Too many warnings.
|
|
|
|
characterset("MBCS")
|
|
|
|
defines({
|
|
|
|
"VK_USE_PLATFORM_WIN32_KHR",
|
|
|
|
})
|
2017-01-26 19:48:06 +00:00
|
|
|
filter("platforms:not Windows")
|
|
|
|
removefiles("dirent_on_windows.c")
|
|
|
|
filter("platforms:Linux")
|
|
|
|
defines({
|
|
|
|
[[SYSCONFDIR="\"/etc\""]],
|
|
|
|
[[DATADIR="\"/usr/share\""]],
|
|
|
|
})
|