texturec.lua 690 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --
  2. -- Copyright 2010-2025 Branimir Karadzic. All rights reserved.
  3. -- License: https://github.com/bkaradzic/bimg/blob/master/LICENSE
  4. --
  5. project "texturec"
  6. kind "ConsoleApp"
  7. includedirs {
  8. path.join(BIMG_DIR, "include"),
  9. }
  10. files {
  11. path.join(BIMG_DIR, "tools/texturec/**.cpp"),
  12. path.join(BIMG_DIR, "tools/texturec/**.h"),
  13. }
  14. links {
  15. "bimg_decode",
  16. "bimg_encode",
  17. "bimg",
  18. }
  19. if _OPTIONS["with-libheif"] then
  20. links {
  21. "heif",
  22. }
  23. configuration {}
  24. end
  25. using_bx()
  26. configuration { "mingw-*" }
  27. targetextension ".exe"
  28. configuration { "osx*" }
  29. links {
  30. "Cocoa.framework",
  31. }
  32. configuration { "vs20* or mingw*" }
  33. links {
  34. "psapi",
  35. }
  36. configuration {}