example-07-callback.lua 845 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. project "example-07-callback"
  2. uuid "acc53bbc-52f0-11e2-9781-ad8edd4b7d02"
  3. kind "WindowedApp"
  4. debugdir (BGFX_DIR .. "examples/runtime/")
  5. includedirs {
  6. BX_DIR .. "include",
  7. BGFX_DIR .. "include",
  8. }
  9. files {
  10. BGFX_DIR .. "examples/common/**.cpp",
  11. BGFX_DIR .. "examples/common/**.h",
  12. BGFX_DIR .. "examples/common/**.mm",
  13. BGFX_DIR .. "examples/07-callback/**.cpp",
  14. BGFX_DIR .. "examples/07-callback/**.h",
  15. }
  16. links {
  17. "bgfx",
  18. }
  19. configuration { "nacl" }
  20. targetextension ".nexe"
  21. configuration { "nacl", "Release" }
  22. postbuildcommands {
  23. "@echo Stripping symbols.",
  24. "@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
  25. }
  26. configuration { "linux" }
  27. links {
  28. "GL",
  29. "pthread",
  30. }
  31. configuration { "macosx" }
  32. links {
  33. "Cocoa.framework",
  34. "OpenGL.framework",
  35. }