Бранимир Караџић 6 years ago
parent
commit
2b9496ecdf
2 changed files with 14 additions and 6 deletions
  1. 11 3
      scripts/example-common.lua
  2. 3 3
      scripts/shaderc.lua

+ 11 - 3
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
 

+ 3 - 3
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()