summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bimg/scripts/texturec.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2017-12-01 13:22:27 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2017-12-01 13:22:27 +0100
commit39176274946d70ff520f265dee8fbd16d5fe0000 (patch)
tree318801d93146752050c9a492654ae3738820e3b9 /3rdparty/bimg/scripts/texturec.lua
parent6829ecb3b037d6bfbe0b84e818d17d712f71bce6 (diff)
Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
Diffstat (limited to '3rdparty/bimg/scripts/texturec.lua')
-rw-r--r--3rdparty/bimg/scripts/texturec.lua57
1 files changed, 57 insertions, 0 deletions
diff --git a/3rdparty/bimg/scripts/texturec.lua b/3rdparty/bimg/scripts/texturec.lua
new file mode 100644
index 00000000000..02f6bb65d41
--- /dev/null
+++ b/3rdparty/bimg/scripts/texturec.lua
@@ -0,0 +1,57 @@
+--
+-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
+-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
+--
+
+project "texturec"
+ kind "ConsoleApp"
+
+ includedirs {
+ path.join(BX_DIR, "include"),
+ path.join(BIMG_DIR, "include"),
+ path.join(BIMG_DIR, "3rdparty"),
+ path.join(BIMG_DIR, "3rdparty/nvtt"),
+ path.join(BIMG_DIR, "3rdparty/iqa/include"),
+ }
+
+ files {
+ path.join(BIMG_DIR, "3rdparty/libsquish/**.cpp"),
+ path.join(BIMG_DIR, "3rdparty/libsquish/**.h"),
+ path.join(BIMG_DIR, "3rdparty/edtaa3/**.cpp"),
+ path.join(BIMG_DIR, "3rdparty/edtaa3/**.h"),
+ path.join(BIMG_DIR, "3rdparty/etc1/**.cpp"),
+ path.join(BIMG_DIR, "3rdparty/etc1/**.h"),
+ path.join(BIMG_DIR, "3rdparty/etc2/**.cpp"),
+ path.join(BIMG_DIR, "3rdparty/etc2/**.hpp"),
+ path.join(BIMG_DIR, "3rdparty/nvtt/**.cpp"),
+ path.join(BIMG_DIR, "3rdparty/nvtt/**.h"),
+ path.join(BIMG_DIR, "3rdparty/pvrtc/**.cpp"),
+ path.join(BIMG_DIR, "3rdparty/pvrtc/**.h"),
+ path.join(BIMG_DIR, "3rdparty/tinyexr/**.h"),
+ path.join(BIMG_DIR, "3rdparty/iqa/include/**.h"),
+ path.join(BIMG_DIR, "3rdparty/iqa/source/**.c"),
+ path.join(BIMG_DIR, "tools/texturec/**.cpp"),
+ path.join(BIMG_DIR, "tools/texturec/**.h"),
+ }
+
+ links {
+ "bimg_decode",
+ "bimg_encode",
+ "bimg",
+ "bx",
+ }
+
+ configuration { "mingw-*" }
+ targetextension ".exe"
+
+ configuration { "osx" }
+ links {
+ "Cocoa.framework",
+ }
+
+ configuration { "vs20* or mingw*" }
+ links {
+ "psapi",
+ }
+
+ configuration {}