summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bimg/scripts/bimg.lua
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-12-05 19:45:08 +0100
committer mooglyguy <therealmogminer@gmail.com>2018-12-05 19:45:08 +0100
commit0bd02131b644b61088789f52f31b750c9aecaa6d (patch)
tree811c679a1bba8b24fc7967cdfe73640254d64156 /3rdparty/bimg/scripts/bimg.lua
parent9a81ec7eaf00d73a23db5c003dc45b55d4b76c4a (diff)
3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz]
Diffstat (limited to '3rdparty/bimg/scripts/bimg.lua')
-rw-r--r--3rdparty/bimg/scripts/bimg.lua13
1 files changed, 12 insertions, 1 deletions
diff --git a/3rdparty/bimg/scripts/bimg.lua b/3rdparty/bimg/scripts/bimg.lua
index b1f56d1d225..a70460ef092 100644
--- a/3rdparty/bimg/scripts/bimg.lua
+++ b/3rdparty/bimg/scripts/bimg.lua
@@ -1,8 +1,18 @@
--
--- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
+-- Copyright 2010-2018 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
--
+function filesexist(_srcPath, _dstPath, _files)
+ for _, file in ipairs(_files) do
+ file = path.getrelative(_srcPath, file)
+ local filePath = path.join(_dstPath, file)
+ if not os.isfile(filePath) then return false end
+ end
+
+ return true
+end
+
project "bimg"
kind "StaticLib"
@@ -14,6 +24,7 @@ project "bimg"
files {
path.join(BIMG_DIR, "include/**"),
path.join(BIMG_DIR, "src/image.*"),
+ path.join(BIMG_DIR, "src/image_gnf.cpp"),
}
configuration { "linux-*" }