mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
[cmake] For ANALYZE_SOURCES=ON run cppcheck in c++20 mode
This commit is contained in:
parent
31649d25b2
commit
1c6d29d6a3
@ -49,7 +49,7 @@ if(ANALYZE_SOURCES)
|
|||||||
TARGET ${PROJECT_NAME}_c
|
TARGET ${PROJECT_NAME}_c
|
||||||
COMMAND ${CPPCHECK_EXECUTABLE}
|
COMMAND ${CPPCHECK_EXECUTABLE}
|
||||||
--enable=warning,style,performance,portability
|
--enable=warning,style,performance,portability
|
||||||
--std=c++17
|
--std=c++20
|
||||||
--template=gcc
|
--template=gcc
|
||||||
--verbose
|
--verbose
|
||||||
--force
|
--force
|
||||||
|
@ -24,7 +24,7 @@ foreach(test ${all_tests})
|
|||||||
TARGET ${test_name}
|
TARGET ${test_name}
|
||||||
COMMAND ${CPPCHECK_EXECUTABLE}
|
COMMAND ${CPPCHECK_EXECUTABLE}
|
||||||
--enable=warning,style,performance,portability
|
--enable=warning,style,performance,portability
|
||||||
--std=c++17
|
--std=c++20
|
||||||
--template=gcc
|
--template=gcc
|
||||||
--verbose
|
--verbose
|
||||||
--force
|
--force
|
||||||
|
Loading…
Reference in New Issue
Block a user