texturec.lua 605 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. --
  2. -- Copyright 2010-2022 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. using_bx()
  20. configuration { "mingw-*" }
  21. targetextension ".exe"
  22. configuration { "osx*" }
  23. links {
  24. "Cocoa.framework",
  25. }
  26. configuration { "vs20* or mingw*" }
  27. links {
  28. "psapi",
  29. }
  30. configuration {}