NEW312890
[CMake] Default the build to Release instead of RelWithDebInfo when CMAKE_BUILD_TYPE is not specified.
https://bugs.webkit.org/show_bug.cgi?id=312890
Summary [CMake] Default the build to Release instead of RelWithDebInfo when CMAKE_BUI...
Carlos Alberto Lopez Perez
Reported 2026-04-21 06:48:20 PDT
At 194203@main some code was added to warn the user when the CMAKE_BUILD_TYPE is not specified and to default the build in that case to RelWithDebInfo But I think it would be better to default instead to Release because Release uses -O3 but RelWithDebInfo uses -O2 Note: this does not affect builds done via build-webkit script as build-webkit correctly passes the right -DCMAKE_BUILD_TYPE value
Attachments
Carlos Alberto Lopez Perez
Comment 1 2026-04-21 07:01:44 PDT
Note You need to log in before you can comment on or make changes to this bug.