From 316269d5e2fec9befc1a255f6db9cb7c7d7cde3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 15 Apr 2017 09:14:00 -0700 Subject: [PATCH] Remove bimg_encode from non-tools build. --- scripts/genie.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 84c50db30..67a9dfab5 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -371,7 +371,10 @@ bgfxProject("", "StaticLib", {}) dofile(path.join(BX_DIR, "scripts/bx.lua")) dofile(path.join(BIMG_DIR, "scripts/bimg.lua")) dofile(path.join(BIMG_DIR, "scripts/bimg_decode.lua")) -dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua")) + +if _OPTIONS["with-tools"] then + dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua")) +end if _OPTIONS["with-examples"] or _OPTIONS["with-tools"] then group "examples"