texturec.lua 719 B

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