Files
bullet3/Demos3/BasicDemoCustomOpenGL2/premake4.lua
Erwin Coumans b438b91009 fix Mac build
2014-07-03 22:30:50 -07:00

40 lines
965 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 links{"X11","pthread"} end
if os.is("MacOSX") then
links{"Cocoa.framework"}
end