texturec.lua 720 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --
  2. -- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
  3. -- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
  4. --
  5. project "texturec"
  6. uuid "838801ee-7bc3-11e1-9f19-eae7d36e7d26"
  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. configuration { "osx" }
  26. links {
  27. "Cocoa.framework",
  28. }
  29. configuration { "vs20* or mingw*" }
  30. links {
  31. "psapi",
  32. }
  33. configuration {}