summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-09-22 10:06:59 -0700
committerGitHub <noreply@github.com>2021-09-22 10:06:59 -0700
commitb9b398d038b524f15a86ff27cd6888d54e8754e0 (patch)
tree4fe46f864065a58db20edccd261e5794326ab2a1 /premake5.lua
parent6e9cee69b3588ddae09b08b9f580f59ad899983f (diff)
Add gfx unit testing framework. (#1943)
* Add gfx unit testing framework. * Fix compilation error. * Reset gfxDebugCallback after render_test. * Pass enabledApi flags through. * Fix for code review suggestions. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index 38cb78a9a..02f8f3600 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -1251,6 +1251,11 @@ standardProject("slang", "source/slang")
defines { "SLANG_ENABLE_IR_BREAK_ALLOC=1" }
filter {}
+toolSharedLibrary "gfx-test"
+ uuid "092DAB9F-1DA5-4538-ADD7-1A8D1DBFD519"
+ includedirs { "." }
+ addSourceDir "tools/unit-test"
+ links { "gfx", "gfx-util", "slang", "core" }
if enableProfile then
tool "slang-profile"