Fixed project groups.
This commit is contained in:
parent
67f462eee8
commit
00df353f0b
@ -500,14 +500,12 @@ function exampleProject(_combined, ...)
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
group "libs"
|
||||||
dofile(path.join(BX_DIR, "scripts/bx.lua"))
|
dofile(path.join(BX_DIR, "scripts/bx.lua"))
|
||||||
dofile(path.join(BIMG_DIR, "scripts/bimg.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_decode.lua"))
|
||||||
|
|
||||||
dofile "bgfx.lua"
|
dofile "bgfx.lua"
|
||||||
|
|
||||||
group "libs"
|
|
||||||
|
|
||||||
local function userdefines()
|
local function userdefines()
|
||||||
local defines = {}
|
local defines = {}
|
||||||
local BGFX_CONFIG = os.getenv("BGFX_CONFIG")
|
local BGFX_CONFIG = os.getenv("BGFX_CONFIG")
|
||||||
@ -524,7 +522,13 @@ BGFX_CONFIG = userdefines()
|
|||||||
|
|
||||||
bgfxProject("", "StaticLib", BGFX_CONFIG)
|
bgfxProject("", "StaticLib", BGFX_CONFIG)
|
||||||
|
|
||||||
|
if _OPTIONS["with-shared-lib"] then
|
||||||
|
group "libs"
|
||||||
|
bgfxProject("-shared-lib", "SharedLib", BGFX_CONFIG)
|
||||||
|
end
|
||||||
|
|
||||||
if _OPTIONS["with-tools"] then
|
if _OPTIONS["with-tools"] then
|
||||||
|
group "libs"
|
||||||
dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua"))
|
dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua"))
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -598,11 +602,6 @@ or _OPTIONS["with-combined-examples"] then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if _OPTIONS["with-shared-lib"] then
|
|
||||||
group "libs"
|
|
||||||
bgfxProject("-shared-lib", "SharedLib", BGFX_CONFIG)
|
|
||||||
end
|
|
||||||
|
|
||||||
if _OPTIONS["with-tools"] then
|
if _OPTIONS["with-tools"] then
|
||||||
group "tools"
|
group "tools"
|
||||||
dofile "shaderc.lua"
|
dofile "shaderc.lua"
|
||||||
|
Loading…
Reference in New Issue
Block a user