example-06-bump.lua 934 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. project "example-06-bump"
  2. uuid "ffb23e6c-167b-11e2-81df-94c4dd6a022f"
  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/06-bump/**.cpp",
  13. BGFX_DIR .. "examples/06-bump/**.h",
  14. }
  15. links {
  16. "bgfx",
  17. }
  18. configuration { "nacl or nacl-arm or pnacl" }
  19. targetextension ".nexe"
  20. links {
  21. "ppapi",
  22. "ppapi_gles2",
  23. "pthread",
  24. }
  25. configuration { "nacl", "Release" }
  26. postbuildcommands {
  27. "@echo Stripping symbols.",
  28. "@$(NACL)/bin/x86_64-nacl-strip -s \"$(TARGET)\""
  29. }
  30. configuration { "linux" }
  31. links {
  32. "GL",
  33. "pthread",
  34. }
  35. configuration { "macosx" }
  36. files {
  37. BGFX_DIR .. "examples/common/**.mm",
  38. }
  39. links {
  40. "Cocoa.framework",
  41. "OpenGL.framework",
  42. }