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 /CMakeLists.txt | |
| 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 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 436f8e69d..b6f68b427 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,6 +186,12 @@ enum_option( ) option( + SLANG_ENABLE_RELEASE_DEBUG_INFO + "Generate debug info for Release builds" + ON +) + +option( SLANG_ENABLE_SPLIT_DEBUG_INFO "Generate split debug info for debug builds" ON |
