diff options
author | 2015-02-28 07:52:28 +0100 | |
---|---|---|
committer | 2015-02-28 07:52:28 +0100 | |
commit | abb3442fe62fe2ee81b35b7f98ca371fae468bff (patch) | |
tree | a9ca70ec681fda082e47c294203d25581bbc1643 /3rdparty/bgfx/scripts/shaderc.lua | |
parent | 2e294961b4e1a26640633a371264dd3438cc7ddb (diff) |
update libs to latest (nw)
Diffstat (limited to '3rdparty/bgfx/scripts/shaderc.lua')
-rw-r--r-- | 3rdparty/bgfx/scripts/shaderc.lua | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/3rdparty/bgfx/scripts/shaderc.lua b/3rdparty/bgfx/scripts/shaderc.lua index cfd0f4328fd..387dd5d2878 100644 --- a/3rdparty/bgfx/scripts/shaderc.lua +++ b/3rdparty/bgfx/scripts/shaderc.lua @@ -7,16 +7,16 @@ project "shaderc" uuid "f3cd2e90-52a4-11e1-b86c-0800200c9a66" kind "ConsoleApp" - local GLSL_OPTIMIZER = (BGFX_DIR .. "3rdparty/glsl-optimizer/") - local FCPP_DIR = (BGFX_DIR .. "3rdparty/fcpp/") + local GLSL_OPTIMIZER = path.join(BGFX_DIR, "3rdparty/glsl-optimizer") + local FCPP_DIR = path.join(BGFX_DIR, "3rdparty/fcpp") includedirs { - GLSL_OPTIMIZER .. "src", + path.join(GLSL_OPTIMIZER, "src"), } configuration { "vs*" } includedirs { - GLSL_OPTIMIZER .. "src/glsl/msvc", + path.join(GLSL_OPTIMIZER, "src/glsl/msvc"), } defines { -- glsl-optimizer @@ -43,7 +43,7 @@ project "shaderc" configuration { "windows", "vs*" } includedirs { - GLSL_OPTIMIZER .. "include/c99", + path.join(GLSL_OPTIMIZER, "include/c99"), } configuration { "windows" } @@ -67,49 +67,49 @@ project "shaderc" } includedirs { - BX_DIR .. "include", - BGFX_DIR .. "include", + path.join(BX_DIR, "include"), + path.join(BGFX_DIR, "include"), FCPP_DIR, - GLSL_OPTIMIZER .. "include", - GLSL_OPTIMIZER .. "src/mesa", - GLSL_OPTIMIZER .. "src/mapi", - GLSL_OPTIMIZER .. "src/glsl", + path.join(GLSL_OPTIMIZER, "include"), + path.join(GLSL_OPTIMIZER, "src/mesa"), + path.join(GLSL_OPTIMIZER, "src/mapi"), + path.join(GLSL_OPTIMIZER, "src/glsl"), } files { - BGFX_DIR .. "tools/shaderc/**.cpp", - BGFX_DIR .. "tools/shaderc/**.h", - BGFX_DIR .. "src/vertexdecl.**", - - FCPP_DIR .. "**.h", - FCPP_DIR .. "cpp1.c", - FCPP_DIR .. "cpp2.c", - FCPP_DIR .. "cpp3.c", - FCPP_DIR .. "cpp4.c", - FCPP_DIR .. "cpp5.c", - FCPP_DIR .. "cpp6.c", - FCPP_DIR .. "cpp6.c", - - GLSL_OPTIMIZER .. "src/mesa/**.c", - GLSL_OPTIMIZER .. "src/glsl/**.cpp", - GLSL_OPTIMIZER .. "src/mesa/**.h", - GLSL_OPTIMIZER .. "src/glsl/**.c", - GLSL_OPTIMIZER .. "src/glsl/**.cpp", - GLSL_OPTIMIZER .. "src/glsl/**.h", - GLSL_OPTIMIZER .. "src/util/**.c", - GLSL_OPTIMIZER .. "src/util/**.h", + path.join(BGFX_DIR, "tools/shaderc/**.cpp"), + path.join(BGFX_DIR, "tools/shaderc/**.h"), + path.join(BGFX_DIR, "src/vertexdecl.**"), + + path.join(FCPP_DIR, "**.h"), + path.join(FCPP_DIR, "cpp1.c"), + path.join(FCPP_DIR, "cpp2.c"), + path.join(FCPP_DIR, "cpp3.c"), + path.join(FCPP_DIR, "cpp4.c"), + path.join(FCPP_DIR, "cpp5.c"), + path.join(FCPP_DIR, "cpp6.c"), + path.join(FCPP_DIR, "cpp6.c"), + + path.join(GLSL_OPTIMIZER, "src/mesa/**.c"), + path.join(GLSL_OPTIMIZER, "src/glsl/**.cpp"), + path.join(GLSL_OPTIMIZER, "src/mesa/**.h"), + path.join(GLSL_OPTIMIZER, "src/glsl/**.c"), + path.join(GLSL_OPTIMIZER, "src/glsl/**.cpp"), + path.join(GLSL_OPTIMIZER, "src/glsl/**.h"), + path.join(GLSL_OPTIMIZER, "src/util/**.c"), + path.join(GLSL_OPTIMIZER, "src/util/**.h"), } excludes { - GLSL_OPTIMIZER .. "src/glsl/glcpp/glcpp.c", - GLSL_OPTIMIZER .. "src/glsl/glcpp/tests/**", - GLSL_OPTIMIZER .. "src/glsl/glcpp/**.l", - GLSL_OPTIMIZER .. "src/glsl/glcpp/**.y", - GLSL_OPTIMIZER .. "src/glsl/ir_set_program_inouts.cpp", - GLSL_OPTIMIZER .. "src/glsl/main.cpp", - GLSL_OPTIMIZER .. "src/glsl/builtin_stubs.cpp", + path.join(GLSL_OPTIMIZER, "src/glsl/glcpp/glcpp.c"), + path.join(GLSL_OPTIMIZER, "src/glsl/glcpp/tests/**"), + path.join(GLSL_OPTIMIZER, "src/glsl/glcpp/**.l"), + path.join(GLSL_OPTIMIZER, "src/glsl/glcpp/**.y"), + path.join(GLSL_OPTIMIZER, "src/glsl/ir_set_program_inouts.cpp"), + path.join(GLSL_OPTIMIZER, "src/glsl/main.cpp"), + path.join(GLSL_OPTIMIZER, "src/glsl/builtin_stubs.cpp"), } strip() |