From c39c29bf4c52a85d7c83cc8b66ae45e265f9e078 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 28 Apr 2025 11:42:22 -0700 Subject: Add Slang Byte Code generation and interpreter. (#6896) * Add Slang Byte Code generation and interpreter. * Fix compile issues. * format code * More compile fix. * Fix clang issue. * Fix more clang issues. * Another clang fix. * Fix clang issues. * Fix another clang issue. * Fix wasm build. * Update building.md * Fix test-server. * Fix compile error. * Fix bug. --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- tools/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tools/CMakeLists.txt') diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 18a50d357..53698726b 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -96,6 +96,19 @@ if(SLANG_ENABLE_SLANGD) ) endif() +# +# Slang Interpreter +# +if(SLANG_ENABLE_SLANGI) + slang_add_target( + slangi + EXECUTABLE + LINK_WITH_PRIVATE core compiler-core slang + INSTALL + EXPORT_SET_NAME SlangTargets + ) +endif() + if(SLANG_ENABLE_GFX) # # `platform` contains all the platform abstractions for a GUI application. -- cgit v1.2.3