texturec.lua 635 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. --
  2. -- Copyright 2010-2021 Branimir Karadzic. All rights reserved.
  3. -- License: https://github.com/bkaradzic/bimg#license-bsd-2-clause
  4. --
  5. project "texturec"
  6. kind "ConsoleApp"
  7. includedirs {
  8. path.join(BX_DIR, "include"),
  9. path.join(BIMG_DIR, "include"),
  10. }
  11. files {
  12. path.join(BIMG_DIR, "tools/texturec/**.cpp"),
  13. path.join(BIMG_DIR, "tools/texturec/**.h"),
  14. }
  15. links {
  16. "bimg_decode",
  17. "bimg_encode",
  18. "bimg",
  19. "bx",
  20. }
  21. configuration { "mingw-*" }
  22. targetextension ".exe"
  23. configuration { "osx*" }
  24. links {
  25. "Cocoa.framework",
  26. }
  27. configuration { "vs20* or mingw*" }
  28. links {
  29. "psapi",
  30. }
  31. configuration {}