HomePhabricator

[CMAKE] Add an option to promote some warnings to errors

Description

[CMAKE] Add an option to promote some warnings to errors

Summary: This is a cmake port of the autotools --enable-werror option.

Test Plan:

cmake -GNinja -DENABLE_WERROR=ON ..
ninja check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D4697

Details

Provenance
FabienAuthored on Dec 10 2019, 16:54
FabienPushed on Dec 12 2019, 07:13
Reviewer
Restricted Project
Differential Revision
D4697: [CMAKE] Add an option to promote some warnings to errors
Parents
rABC93156fddade6: Remove Unused CTransaction tx in wallet.cpp
Branches
Unknown
Tags
Unknown