premake4.lua 420 B

1234567891011121314151617181920212223242526272829
  1. project "App_TinyRenderer"
  2. language "C++"
  3. kind "ConsoleApp"
  4. includedirs {
  5. ".",
  6. "../../src",
  7. ".."
  8. }
  9. links{ "OpenGL_Window","Bullet3Common"}
  10. initOpenGL()
  11. initGlew()
  12. files {
  13. "*.cpp",
  14. "*.h",
  15. "../Utils/b3ResourcePath.cpp"
  16. }
  17. if os.is("Linux") then initX11() end
  18. if os.is("MacOSX") then
  19. links{"Cocoa.framework"}
  20. end