From b8cb68884afd81a7b07365c71e4e17503a2e64c4 2017-05-17 15:25:29 From: mperrinel Date: 2017-05-17 15:25:29 Subject: [PATCH] remise au norme de cppcheck (mise à jour de la version de sortie xml de 1 vers 2) --- diff --git a/cmake/sciqlop_code_analysis.cmake b/cmake/sciqlop_code_analysis.cmake index 8edcf2f..5a77a08 100644 --- a/cmake/sciqlop_code_analysis.cmake +++ b/cmake/sciqlop_code_analysis.cmake @@ -23,7 +23,7 @@ IF (ANALYZE_CODE) # Make sure cppcheck has been found, otherwise the source code can't be # analyzed IF (CPPCHECK_FOUND) - SET (CPPCHECK_EXTRA_ARGS --inline-suppr --xml --enable=style --force -v + SET (CPPCHECK_EXTRA_ARGS --inline-suppr --xml --xml-version=2 --enable="warning,style" --force -v CACHE STRING "Extra arguments for cppcheck") MARK_AS_ADVANCED (CPPCHECK_EXTRA_ARGS)