mirror of
https://github.com/xenia-project/xenia.git
synced 2024-11-27 13:30:44 +00:00
32 lines
502 B
Lua
32 lines
502 B
Lua
group("third_party")
|
|
project("glew")
|
|
uuid("ca31d35a-6cf4-4c86-b97f-60b5244b80cb")
|
|
kind("StaticLib")
|
|
language("C++")
|
|
links({
|
|
})
|
|
defines({
|
|
"GLEW_STATIC=1",
|
|
"GLEW_MX=1",
|
|
"_LIB",
|
|
})
|
|
includedirs({
|
|
"GL",
|
|
})
|
|
files({
|
|
"GL/glcorearb.h",
|
|
"GL/glew.c",
|
|
"GL/glew.h",
|
|
"GL/glext.h",
|
|
})
|
|
filter("platforms:Linux")
|
|
files({
|
|
"GL/glxew.h",
|
|
"GL/glxext.h",
|
|
})
|
|
filter("platforms:Windows")
|
|
files({
|
|
"GL/wglew.h",
|
|
"GL/wglext.h",
|
|
})
|