mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-16 14:40:05 +00:00
bf1bd07636
premake4 build: allow to dynamically load OpenGL/GLEW/glx if system headers are missing
22 lines
316 B
Lua
22 lines
316 B
Lua
project "gwen"
|
|
|
|
kind "StaticLib"
|
|
|
|
flags {"Unicode"}
|
|
initOpenGL()
|
|
initGlew()
|
|
if os.is("Linux") then
|
|
initX11()
|
|
end
|
|
|
|
defines { "GWEN_COMPILE_STATIC" , "_HAS_EXCEPTIONS=0", "_STATIC_CPPLIB" }
|
|
defines { "DONT_USE_GLUT"}
|
|
targetdir "../../lib"
|
|
includedirs {
|
|
".",".."
|
|
}
|
|
files {
|
|
"**.cpp",
|
|
"**.h"
|
|
}
|