This commit is contained in:
Branimir Karadžić
2016-10-04 22:48:59 -07:00
parent adb0ab77ce
commit 85a074b0ef
2 changed files with 19 additions and 3 deletions

View File

@@ -118,8 +118,14 @@ project "shaderc"
path.join(BGFX_DIR, "tools/shaderc/shaderc_pssl.cpp"),
})
overridefiles(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-ext"), {
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-ext"), {
path.join(BGFX_DIR, "scripts/shaderc.lua"), }) then
removefiles {
path.join(BGFX_DIR, "tools/shaderc/shaderc_spirv.cpp"),
})
}
dofile(path.join(BGFX_DIR, "../bgfx-ext/scripts/shaderc.lua") )
end
strip()