diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 23:56:47 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 23:56:47 +0200 |
| commit | 9eda238ba761db90b673581d07194c66cb16d25a (patch) | |
| tree | f3818387fa342f4067c1d26da241b76c69be2d84 | |
| parent | workflows/ci: add a comment (diff) | |
| download | windows7-drivers-9eda238ba761db90b673581d07194c66cb16d25a.tar.gz windows7-drivers-9eda238ba761db90b673581d07194c66cb16d25a.zip | |
cmake: treat warnings as errors
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c1323f4..a8973ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,9 +10,9 @@ endif() project(win7drv CXX) if(MSVC) - add_compile_options(/MP /W4) + add_compile_options(/MP /W4 /WX) else() - add_compile_options(-Wall -Wextra) + add_compile_options(-Wall -Wextra -pedantic -Werror) endif() add_compile_definitions(NOMINMAX) |
