Files
bullet3/btgui/OpenGLWindow/premake4.lua
Erwin Coumans bf1bd07636 premake4 build: allow to dynamically load X11 if X11 system headers/library is missing
premake4 build: allow to dynamically load OpenGL/GLEW/glx if system headers are missing
2014-08-18 21:43:08 -07:00

48 lines
666 B
Lua

project "OpenGL_Window"
language "C++"
kind "StaticLib"
initOpenGL()
initGlew()
includedirs {
"..",
"../../src",
}
--links {
--}
files {
"**.cpp",
"**.h",
}
if not os.is("Windows") then
excludes {
"Win32OpenGLWindow.cpp",
"Win32OpenGLWindow.h",
"Win32Window.cpp",
"Win32Window.h",
}
end
if os.is("Linux") then
initX11()
end
if not os.is("Linux") then
excludes {
"X11OpenGLWindow.cpp",
"X11OpenGLWindows.h"
}
end
if os.is("MacOSX") then
files
{
"../OpenGLWindow/MacOpenGLWindow.h",
"../OpenGLWindow/MacOpenGLWindow.mm",
}
end