bimg_encode.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --
  2. -- Copyright 2010-2018 Branimir Karadzic. All rights reserved.
  3. -- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
  4. --
  5. project "bimg_encode"
  6. kind "StaticLib"
  7. includedirs {
  8. path.join(BX_DIR, "include"),
  9. path.join(BIMG_DIR, "include"),
  10. path.join(BIMG_DIR, "3rdparty"),
  11. path.join(BIMG_DIR, "3rdparty/nvtt"),
  12. path.join(BIMG_DIR, "3rdparty/iqa/include"),
  13. }
  14. files {
  15. path.join(BIMG_DIR, "include/**"),
  16. path.join(BIMG_DIR, "src/image_encode.*"),
  17. path.join(BIMG_DIR, "3rdparty/libsquish/**.cpp"),
  18. path.join(BIMG_DIR, "3rdparty/libsquish/**.h"),
  19. path.join(BIMG_DIR, "3rdparty/edtaa3/**.cpp"),
  20. path.join(BIMG_DIR, "3rdparty/edtaa3/**.h"),
  21. path.join(BIMG_DIR, "3rdparty/etc1/**.cpp"),
  22. path.join(BIMG_DIR, "3rdparty/etc1/**.h"),
  23. path.join(BIMG_DIR, "3rdparty/etc2/**.cpp"),
  24. path.join(BIMG_DIR, "3rdparty/etc2/**.hpp"),
  25. path.join(BIMG_DIR, "3rdparty/nvtt/**.cpp"),
  26. path.join(BIMG_DIR, "3rdparty/nvtt/**.h"),
  27. path.join(BIMG_DIR, "3rdparty/pvrtc/**.cpp"),
  28. path.join(BIMG_DIR, "3rdparty/pvrtc/**.h"),
  29. path.join(BIMG_DIR, "3rdparty/tinyexr/**.h"),
  30. path.join(BIMG_DIR, "3rdparty/iqa/include/**.h"),
  31. path.join(BIMG_DIR, "3rdparty/iqa/source/**.c"),
  32. }
  33. configuration { "linux-*" }
  34. buildoptions {
  35. "-fPIC",
  36. }
  37. configuration {}