mirror of https://github.com/bkaradzic/bgfx
Cleanup.
This commit is contained in:
parent
5badc8545a
commit
ea52cda470
|
@ -43,6 +43,11 @@ newoption {
|
|||
description = "Enable building tools.",
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "with-combined-examples",
|
||||
description = "Enable building examples (combined as single executable).",
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "with-examples",
|
||||
description = "Enable building examples.",
|
||||
|
@ -416,15 +421,18 @@ if _OPTIONS["with-tools"] then
|
|||
dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua"))
|
||||
end
|
||||
|
||||
if _OPTIONS["with-examples"] or _OPTIONS["with-tools"] then
|
||||
if _OPTIONS["with-examples"]
|
||||
or _OPTIONS["with-combined-examples"]
|
||||
or _OPTIONS["with-tools"] then
|
||||
group "examples"
|
||||
dofile "example-common.lua"
|
||||
end
|
||||
|
||||
if _OPTIONS["with-examples"] then
|
||||
if _OPTIONS["with-examples"]
|
||||
or _OPTIONS["with-combined-examples"] then
|
||||
group "examples"
|
||||
|
||||
exampleProject(false
|
||||
exampleProject(_OPTIONS["with-combined-examples"]
|
||||
, "00-helloworld"
|
||||
, "01-cubes"
|
||||
, "02-metaballs"
|
||||
|
|
Loading…
Reference in New Issue