diff options
author | 2016-10-29 09:11:50 +0200 | |
---|---|---|
committer | 2016-10-29 09:11:50 +0200 | |
commit | a3b4058bf7266f1291cf38c30425d9948250fcd9 (patch) | |
tree | 46116c48b60368ac9c782c1d5e6e8ae16e558987 /3rdparty/bx/scripts/genie.lua | |
parent | b99be73f2db5d3f81edc96a92ac4839e7f1cc3ab (diff) |
Updated BGFX and BX and recompiled shaders (nw)
Diffstat (limited to '3rdparty/bx/scripts/genie.lua')
-rw-r--r-- | 3rdparty/bx/scripts/genie.lua | 60 |
1 files changed, 58 insertions, 2 deletions
diff --git a/3rdparty/bx/scripts/genie.lua b/3rdparty/bx/scripts/genie.lua index fdde771d60d..edc86a7823b 100644 --- a/3rdparty/bx/scripts/genie.lua +++ b/3rdparty/bx/scripts/genie.lua @@ -49,8 +49,64 @@ project "bx.test" } files { - path.join(BX_DIR, "tests/**.cpp"), - path.join(BX_DIR, "tests/**.H"), + path.join(BX_DIR, "tests/*_test.cpp"), + path.join(BX_DIR, "tests/*_test.H"), + path.join(BX_DIR, "tests/dbg.*"), + } + + configuration { "vs* or mingw*" } + links { + "psapi", + } + + configuration { "android*" } + targetextension ".so" + linkoptions { + "-shared", + } + + configuration { "nacl or nacl-arm" } + targetextension ".nexe" + links { + "ppapi", + "pthread", + } + + configuration { "pnacl" } + targetextension ".pexe" + links { + "ppapi", + "pthread", + } + + configuration { "linux-*" } + links { + "pthread", + } + + configuration { "osx" } + links { + "Cocoa.framework", + } + + configuration {} + + strip() + +project "bx.bench" + kind "ConsoleApp" + + debugdir (path.join(BX_DIR, "tests")) + + includedirs { + path.join(BX_DIR, "include"), + BX_THIRD_PARTY_DIR, + } + + files { + path.join(BX_DIR, "tests/*_bench.cpp"), + path.join(BX_DIR, "tests/*_bench.h"), + path.join(BX_DIR, "tests/dbg.*"), } configuration { "vs* or mingw*" } |