example-06-bump.lua 707 B

123456789101112131415161718192021222324252627282930313233343536
  1. project "example-06-bump"
  2. uuid "ffb23e6c-167b-11e2-81df-94c4dd6a022f"
  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/06-bump/**.cpp",
  13. BGFX_DIR .. "examples/06-bump/**.h",
  14. }
  15. links {
  16. "bgfx",
  17. }
  18. configuration { "nacl" }
  19. targetextension ".nexe"
  20. configuration { "nacl", "Release" }
  21. postbuildcommands {
  22. "@echo Stripping symbols.",
  23. "@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
  24. }
  25. configuration { "linux" }
  26. links {
  27. "GL",
  28. "pthread",
  29. }