This commit is contained in:
Бранимир Караџић 2019-03-12 17:05:39 -07:00
parent 9f7c3281e1
commit 2b9496ecdf
2 changed files with 14 additions and 6 deletions

View File

@ -37,11 +37,19 @@ project ("example-common")
path.join(BGFX_DIR, "examples/common/**.h"),
}
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-ext"),
{ path.join(BGFX_DIR, "../bgfx-ext/examples/common/entry/entry_orbis.cpp") }) then
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-gnm"),
{ path.join(BGFX_DIR, "../bgfx-gnm/examples/common/entry/entry_orbis.cpp") }) then
files {
path.join(BGFX_DIR, "../bgfx-ext/examples/common/entry/entry_orbis.cpp"),
path.join(BGFX_DIR, "../bgfx-gnm/examples/common/entry/entry_orbis.cpp"),
}
end
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-nvn"),
{ path.join(BGFX_DIR, "../bgfx-gnm/examples/common/entry/entry_nx.cpp") }) then
files {
path.join(BGFX_DIR, "../bgfx-gnm/examples/common/entry/entry_nx.cpp"),
}
end

View File

@ -655,10 +655,10 @@ project "shaderc"
configuration {}
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-ext"), {
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-gnm"), {
path.join(BGFX_DIR, "scripts/shaderc.lua"), }) then
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-ext"), {
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-gnm"), {
path.join(BGFX_DIR, "tools/shaderc/shaderc_pssl.cpp"), }) then
removefiles {
@ -666,7 +666,7 @@ project "shaderc"
}
end
dofile(path.join(BGFX_DIR, "../bgfx-ext/scripts/shaderc.lua") )
dofile(path.join(BGFX_DIR, "../bgfx-gnm/scripts/shaderc.lua") )
end
strip()