example-05-instancing.lua 785 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. project "example-05-instancing"
  2. uuid "5d3da660-1105-11e2-aece-71e4dd6a022f"
  3. kind "WindowedApp"
  4. debugdir (BGFX_DIR .. "examples/runtime/")
  5. includedirs {
  6. BGFX_DIR .. "../bx/include",
  7. BGFX_DIR .. "include",
  8. }
  9. files {
  10. BGFX_DIR .. "examples/common/**.cpp",
  11. BGFX_DIR .. "examples/common/**.h",
  12. BGFX_DIR .. "examples/05-instancing/**.cpp",
  13. BGFX_DIR .. "examples/05-instancing/**.h",
  14. }
  15. links {
  16. "bgfx",
  17. }
  18. configuration { "emscripten" }
  19. targetextension ".bc"
  20. configuration { "nacl" }
  21. targetextension ".nexe"
  22. configuration { "nacl", "Release" }
  23. postbuildcommands {
  24. "@echo Stripping symbols.",
  25. "@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
  26. }
  27. configuration { "linux" }
  28. links {
  29. "GL",
  30. "pthread",
  31. }