Files
bullet3/Demos3/BasicDemoCustomOpenGL2/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

40 lines
952 B
Lua

project "App_BasicDemoCustomOpenGL2"
kind "ConsoleApp"
targetdir "../../bin"
includedirs {
"../../src",
"../../btgui"
}
defines { "DONT_USE_GLUT"}
initOpenGL()
initGlew()
links {
"OpenGL_Window","BulletDynamics", "BulletCollision", "LinearMath"
}
files {
"*.cpp" ,
"*.h",
"../../Demos/BasicDemo/BasicDemoPhysicsSetup.cpp",
"../../Demos/BasicDemo/BasicDemoPhysicsSetup.h",
"../../Demos/OpenGL/DemoApplication.cpp",
"../../Demos/OpenGL/DemoApplication.h",
"../../Demos/OpenGL/GL_ShapeDrawer.cpp",
"../../Demos/OpenGL/GL_ShapeDrawer.h",
"../../Demos/OpenGL/GL_ShapeDrawer.cpp",
"../../Demos/OpenGL/GLDebugDrawer.cpp",
"../../Demos/OpenGL/GLDebugDrawer.h",
"../../Demos/OpenGL/GLDebugFont.cpp",
"../../Demos/OpenGL/GLDebugFont.h"
}
if os.is("Linux") then initX11() end
if os.is("MacOSX") then
links{"Cocoa.framework"}
end