diff options
| author | Yong He <yonghe@outlook.com> | 2021-04-16 10:34:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 10:34:26 -0700 |
| commit | 79e92395f8ce3d92c446e3bb3250d19ce33decd5 (patch) | |
| tree | 2ac277fa299200da72cf03a2b5b96338f66aee5d /premake5.lua | |
| parent | bad484d838590d0a2aaf1b5b8ac820634af2decb (diff) | |
Update `model-viewer` example and fixing compiler bugs. (#1795)
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index e7223a5f3..ef53ed47a 100644 --- a/premake5.lua +++ b/premake5.lua @@ -647,6 +647,8 @@ example "gpu-printing" example "shader-toy" +example "model-viewer" + example "shader-object" kind "ConsoleApp" @@ -1228,6 +1230,10 @@ standardProject("slang", "source/slang") "{COPY} ../../../external/slang-binaries/bin/" .. targetName .. "/libslang-glslang.so %{cfg.targetdir}" } end + + filter {"configurations:debug"} + defines { "SLANG_ENABLE_IR_BREAK_ALLOC=1" } + filter {} if enableProfile then |
