example-08-update.lua 899 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. project "example-08-update"
  2. uuid "e011e246-5862-11e2-b202-b7cb257a7926"
  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/08-update/**.cpp",
  14. BGFX_DIR .. "examples/08-update/**.h",
  15. }
  16. links {
  17. "bgfx",
  18. }
  19. configuration { "emscripten" }
  20. targetextension ".bc"
  21. configuration { "nacl" }
  22. targetextension ".nexe"
  23. configuration { "nacl", "Release" }
  24. postbuildcommands {
  25. "@echo Stripping symbols.",
  26. "@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
  27. }
  28. configuration { "linux" }
  29. links {
  30. "GL",
  31. "pthread",
  32. }
  33. configuration { "macosx" }
  34. links {
  35. "Cocoa.framework",
  36. "OpenGL.framework",
  37. }