Skip to content

Update CMake BUILD_SHARED_LIBS=ON linker settings#297

Merged
walbourn merged 5 commits into
mainfrom
cmakelinkerdllsettings
May 13, 2026
Merged

Update CMake BUILD_SHARED_LIBS=ON linker settings#297
walbourn merged 5 commits into
mainfrom
cmakelinkerdllsettings

Conversation

@walbourn
Copy link
Copy Markdown
Member

@walbourn walbourn commented May 12, 2026

CMake's RelWithDebInfo for MSVC adds /debug but this implicitly turns off /OPT:REF,ICF as well so we need to add it back.

@walbourn walbourn self-assigned this May 12, 2026
@walbourn walbourn added the cmake Related to CMake build label May 12, 2026
@walbourn walbourn changed the title Update CMake BULID_SHARED_LIBS=ON linker settings Update CMake BUILD_SHARED_LIBS=ON linker settings May 12, 2026
@walbourn walbourn merged commit 58ab77b into main May 13, 2026
121 checks passed
@walbourn walbourn deleted the cmakelinkerdllsettings branch May 13, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake Related to CMake build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants