bimg.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --
  2. -- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
  3. -- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
  4. --
  5. project "bimg"
  6. kind "StaticLib"
  7. includedirs {
  8. path.join(BX_DIR, "include"),
  9. path.join(BIMG_DIR, "include"),
  10. }
  11. files {
  12. path.join(BIMG_DIR, "src/image.*"),
  13. }
  14. project "bimg_decode"
  15. kind "StaticLib"
  16. includedirs {
  17. path.join(BX_DIR, "include"),
  18. path.join(BIMG_DIR, "include"),
  19. path.join(BIMG_DIR, "3rdparty"),
  20. path.join(BIMG_DIR, "3rdparty/nvtt"),
  21. path.join(BIMG_DIR, "3rdparty/iqa/include"),
  22. }
  23. files {
  24. path.join(BIMG_DIR, "src/image_decode.*"),
  25. }
  26. project "bimg_encode"
  27. kind "StaticLib"
  28. includedirs {
  29. path.join(BX_DIR, "include"),
  30. path.join(BIMG_DIR, "include"),
  31. path.join(BIMG_DIR, "3rdparty"),
  32. path.join(BIMG_DIR, "3rdparty/nvtt"),
  33. path.join(BIMG_DIR, "3rdparty/iqa/include"),
  34. }
  35. files {
  36. path.join(BIMG_DIR, "src/image_encode.*"),
  37. path.join(BIMG_DIR, "3rdparty/libsquish/**.cpp"),
  38. path.join(BIMG_DIR, "3rdparty/libsquish/**.h"),
  39. path.join(BIMG_DIR, "3rdparty/edtaa3/**.cpp"),
  40. path.join(BIMG_DIR, "3rdparty/edtaa3/**.h"),
  41. path.join(BIMG_DIR, "3rdparty/etc1/**.cpp"),
  42. path.join(BIMG_DIR, "3rdparty/etc1/**.h"),
  43. path.join(BIMG_DIR, "3rdparty/etc2/**.cpp"),
  44. path.join(BIMG_DIR, "3rdparty/etc2/**.hpp"),
  45. path.join(BIMG_DIR, "3rdparty/nvtt/**.cpp"),
  46. path.join(BIMG_DIR, "3rdparty/nvtt/**.h"),
  47. path.join(BIMG_DIR, "3rdparty/pvrtc/**.cpp"),
  48. path.join(BIMG_DIR, "3rdparty/pvrtc/**.h"),
  49. path.join(BIMG_DIR, "3rdparty/tinyexr/**.h"),
  50. path.join(BIMG_DIR, "3rdparty/iqa/include/**.h"),
  51. path.join(BIMG_DIR, "3rdparty/iqa/source/**.c"),
  52. }