diff --git a/scripts/example-common.lua b/scripts/example-common.lua index c81e6b190..40b91c83b 100644 --- a/scripts/example-common.lua +++ b/scripts/example-common.lua @@ -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 diff --git a/scripts/shaderc.lua b/scripts/shaderc.lua index b7ec118bc..b0044453e 100644 --- a/scripts/shaderc.lua +++ b/scripts/shaderc.lua @@ -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()