summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-10-10 22:53:26 -0700
committeryum <yum.food.vr@gmail.com>2025-10-10 22:54:28 -0700
commit4cbf98dd43ebb4795fe36faa68b858602a4044f3 (patch)
tree006f9f024eae1dcdb8932038865933bb944abb53 /README.md
initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..00ff565
--- /dev/null
+++ b/README.md
@@ -0,0 +1,24 @@
+## modular slang
+
+the idea here is just to make something like slangc.exe, but which doesn't
+require an entrypoint.
+
+build instructions
+
+```bash
+git clone https://github.com/shader-slang/slang
+git submodule update --init --recursive -j 32
+# wait, the previous command takes a while
+mkdir slang/build
+cd slang/build
+# run this part in powershell, from ./slang/build
+cmake.exe ..
+cmake.exe --build . -j
+# the previous command will take a long fucking time
+# switch back to top level of repo
+cd ../..
+# do this in wsl2 or powershell. Showing wsl2/bash syntax
+# you'd do this for each incremental build.
+powershell.exe ./build.ps1 && ./build/bin/Release/modular_slange.exe ./test.slang
+```
+