@@ -23,7 +23,7 IF (ANALYZE_CODE) | |||||
23 | # Make sure cppcheck has been found, otherwise the source code can't be |
|
23 | # Make sure cppcheck has been found, otherwise the source code can't be | |
24 | # analyzed |
|
24 | # analyzed | |
25 | IF (CPPCHECK_FOUND) |
|
25 | IF (CPPCHECK_FOUND) | |
26 | SET (CPPCHECK_EXTRA_ARGS --inline-suppr --xml --enable=style --force -v |
|
26 | SET (CPPCHECK_EXTRA_ARGS --inline-suppr --xml --xml-version=2 --enable="warning,style" --force -v | |
27 | CACHE STRING "Extra arguments for cppcheck") |
|
27 | CACHE STRING "Extra arguments for cppcheck") | |
28 | MARK_AS_ADVANCED (CPPCHECK_EXTRA_ARGS) |
|
28 | MARK_AS_ADVANCED (CPPCHECK_EXTRA_ARGS) | |
29 |
|
29 |
General Comments 0
You need to be logged in to leave comments.
Login now