diff options
author | Brad King <brad.king@kitware.com> | 2018-10-12 12:17:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-10-12 12:17:58 (GMT) |
commit | 7bacb2295583f1a0e04a7312c370064310b1834b (patch) | |
tree | e2e5cffa031100ec4a5a57d3099666069880c8ae /Help/release | |
parent | 1cfe2442c4196e592a6d99c7a2a4f5aa94038a78 (diff) | |
parent | 3b80cd77fb3e1d0ee6a77a590830e7dc620df1a5 (diff) | |
download | CMake-7bacb2295583f1a0e04a7312c370064310b1834b.zip CMake-7bacb2295583f1a0e04a7312c370064310b1834b.tar.gz CMake-7bacb2295583f1a0e04a7312c370064310b1834b.tar.bz2 |
Merge topic 'cppcheck-exit-code'
3b80cd77fb Fail the build if cppcheck returns a non-zero exit code
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2459
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/cppcheck-exit-code.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/cppcheck-exit-code.rst b/Help/release/dev/cppcheck-exit-code.rst new file mode 100644 index 0000000..d66c762 --- /dev/null +++ b/Help/release/dev/cppcheck-exit-code.rst @@ -0,0 +1,6 @@ +cppcheck-exit-code +------------------ + +* When using cppcheck via the :variable:`CMAKE_<LANG>_CPPCHECK` variable + or :prop_tgt:`<LANG>_CPPCHECK` property, the build will now fail if + ``cppcheck`` returns non-zero as configured by its command-line options. |