summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDario Mylonopoulos <32958057+ramenguy99@users.noreply.github.com>2025-01-24 12:15:02 +0100
committerGitHub <noreply@github.com>2025-01-24 19:15:02 +0800
commitac174d260d90b66ebbc8264001a75b9527611cbc (patch)
treedb68e09e342190daba5d500467901c459fa20070 /docs
parenta9ce7520e5f1b97b09e5de69455258bef55e10d2 (diff)
Fix static build and install (#6158)
* Add SLANG_ENABLE_RELEASE_LTO cmake option * Fix cmake static build * Disable install SlangTargets to avoid static build failing
Diffstat (limited to 'docs')
-rw-r--r--docs/building.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/building.md b/docs/building.md
index 6af47979f..21a86b03b 100644
--- a/docs/building.md
+++ b/docs/building.md
@@ -165,6 +165,7 @@ See the [documentation on testing](../tools/slang-test/README.md) for more infor
| `SLANG_ENABLE_EXAMPLES` | `TRUE` | Enable example targets, requires SLANG_ENABLE_GFX |
| `SLANG_LIB_TYPE` | `SHARED` | How to build the slang library |
| `SLANG_ENABLE_RELEASE_DEBUG_INFO` | `TRUE` | Enable generating debug info for Release configs |
+| `SLANG_ENABLE_RELEASE_LTO` | `TRUE` | Enable LTO for Release builds |
| `SLANG_ENABLE_SPLIT_DEBUG_INFO` | `TRUE` | Enable generating split debug info for Debug and RelWithDebInfo configs |
| `SLANG_SLANG_LLVM_FLAVOR` | `FETCH_BINARY_IF_POSSIBLE` | How to set up llvm support |
| `SLANG_SLANG_LLVM_BINARY_URL` | System dependent | URL specifying the location of the slang-llvm prebuilt library |