fix build, add premake4.lua

This commit is contained in:
Erwin Coumans
2016-04-26 21:08:02 -07:00
parent 40841e9078
commit 924456548e
2 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
project "App_TinyRenderer"
language "C++"
kind "ConsoleApp"
includedirs {
".",
"../../src",
".."
}
links{ "OpenGL_Window","Bullet3Common"}
initOpenGL()
initGlew()
files {
"*.cpp",
"*.h",
"../Utils/b3ResourcePath.cpp"
}
if os.is("Linux") then initX11() end
if os.is("MacOSX") then
links{"Cocoa.framework"}
end