bgfx genie scripts: use path.join to compose paths

Using path.join instead of string concatenation makes the scripts more
OS-neutral. It also protects against missing or doubled "/" characters
in paths.
This commit is contained in:
Brett Vickers
2015-02-27 15:44:24 -08:00
parent 676127bc5d
commit bdd112289b
7 changed files with 97 additions and 97 deletions

View File

@@ -8,15 +8,15 @@ project "texturec"
kind "ConsoleApp"
includedirs {
BX_DIR .. "include",
BGFX_DIR .. "include",
BGFX_DIR .. "src",
path.join(BX_DIR, "include"),
path.join(BGFX_DIR, "include"),
path.join(BGFX_DIR, "src"),
}
files {
BGFX_DIR .. "src/image.*",
BGFX_DIR .. "tools/texturec/**.cpp",
BGFX_DIR .. "tools/texturec/**.h",
path.join(BGFX_DIR, "src/image.*"),
path.join(BGFX_DIR, "tools/texturec/**.cpp"),
path.join(BGFX_DIR, "tools/texturec/**.h"),
}
links {