Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Add option to compile with warnings as errors
https://bugs.webkit.org/show_bug.cgi?id=155047 Reviewed by Michael Catanzaro. Add `DEVELOPER_MODE_FATAL_WARNINGS` as an option to compile everything defined through `WEBKIT_TARGET` with warnings as errors. For MSVC `/WX` is added for everything else `-Werror` is used. An additional flag, `--[no-]fatal-warnings` was added to the `build-webkit` script. This value should be set to `ON` by default but is currently turned `OFF` until the build bots invoke `build-webkit` with `--no-fatal-warnings`. After that it should be turned to `ON`. * Source/cmake/WebKitCompilerFlags.cmake: * Source/cmake/WebKitMacros.cmake: * Tools/Scripts/webkitperl/FeatureList.pm: Canonical link: https://commits.webkit.org/254583@main
- Loading branch information
1 parent
b40f80b
commit 1460c15
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters