From 3e0767cecccddeca0e12d4fda3242c859deed9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 10 Sep 2016 09:53:29 -0700 Subject: [PATCH] Cleanup. --- scripts/genie.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 16090002a..2e915603f 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -360,13 +360,14 @@ end dofile "bgfx.lua" --- Always build 'example-common' because 'texturev' uses it as well. -group "examples" -dofile "example-common.lua" - group "libs" bgfxProject("", "StaticLib", {}) +if _OPTIONS["with-examples"] or _OPTIONS["with-tools"] then + group "examples" + dofile "example-common.lua" +end + if _OPTIONS["with-examples"] then group "examples" exampleProject("00-helloworld")