mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
30 lines
420 B
Lua
30 lines
420 B
Lua
|
|
||
|
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
|