mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 12:23:41 +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
|
||||
COMMAND ${CPPCHECK_EXECUTABLE}
|
||||
--enable=warning,style,performance,portability
|
||||
--std=c++17
|
||||
--std=c++20
|
||||
--template=gcc
|
||||
--verbose
|
||||
--force
|
||||
|
@ -24,7 +24,7 @@ foreach(test ${all_tests})
|
||||
TARGET ${test_name}
|
||||
COMMAND ${CPPCHECK_EXECUTABLE}
|
||||
--enable=warning,style,performance,portability
|
||||
--std=c++17
|
||||
--std=c++20
|
||||
--template=gcc
|
||||
--verbose
|
||||
--force
|
||||
|
Loading…
Reference in New Issue
Block a user