summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bimg/scripts/bimg_decode.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bimg/scripts/bimg_decode.lua')
-rw-r--r--3rdparty/bimg/scripts/bimg_decode.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/3rdparty/bimg/scripts/bimg_decode.lua b/3rdparty/bimg/scripts/bimg_decode.lua
new file mode 100644
index 00000000000..743d0ec59e1
--- /dev/null
+++ b/3rdparty/bimg/scripts/bimg_decode.lua
@@ -0,0 +1,27 @@
+--
+-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
+-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
+--
+
+project "bimg_decode"
+ kind "StaticLib"
+
+ 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, "include/**"),
+ path.join(BIMG_DIR, "src/image_decode.*"),
+ }
+
+ configuration { "linux-*" }
+ buildoptions {
+ "-fPIC",
+ }
+
+ configuration {}