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")