diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-12-06 20:24:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-06 13:24:43 +0100 |
| commit | 27b7ac0e8ae02a41f748cccd76d617bb3b9d9734 (patch) | |
| tree | 87f1bfc28463e81e89f87dbdee1c1f4b7fa94e2a /docs | |
| parent | 8ce7c6f6958f9f5ed750ef1a823b9e9ed8c042d8 (diff) | |
Emit debug info for Release builds (#5783)
* Remove unnecessary warnings on windows
* Correctly set debug flags on gcc
* Emit debug info for Release builds
* Perform LTO for relwithdebinfo builds
* Release from release builds not relwithdebinfo
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/building.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/building.md b/docs/building.md index cc7ac6eda..f3b7e9d29 100644 --- a/docs/building.md +++ b/docs/building.md @@ -163,6 +163,7 @@ See the [documentation on testing](../tools/slang-test/README.md) for more infor | `SLANG_ENABLE_TESTS` | `TRUE` | Enable test targets, requires SLANG_ENABLE_GFX, SLANG_ENABLE_SLANGD and SLANG_ENABLE_SLANGRT | | `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_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 | |
