From ac174d260d90b66ebbc8264001a75b9527611cbc Mon Sep 17 00:00:00 2001 From: Dario Mylonopoulos <32958057+ramenguy99@users.noreply.github.com> Date: Fri, 24 Jan 2025 12:15:02 +0100 Subject: 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 --- docs/building.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') 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 | -- cgit v1.2.3