Update vera++

This commit is contained in:
Přemysl Eric Janouch 2015-01-18 22:55:55 +01:00
parent 6e6cf05093
commit c95519830d
3 changed files with 6 additions and 3 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "vera++"] [submodule "vera++"]
path = vera++ path = vera++
url = https://bitbucket.org/ThArGos/vera.git url = https://bitbucket.org/verateam/vera.git

View File

@ -275,6 +275,9 @@ GENERATE_CPPCHECK (SOURCES liblogdiag src tests ENABLE_IDS all
TARGET_NAME ${CMAKE_PROJECT_NAME}_cppcheck INCLUDES ${CMAKE_CURRENT_BINARY_DIR}) TARGET_NAME ${CMAKE_PROJECT_NAME}_cppcheck INCLUDES ${CMAKE_CURRENT_BINARY_DIR})
if (OPTION_USE_VERA) if (OPTION_USE_VERA)
# Force this off, we don't need it
option (VERA_LUA "" OFF)
# Make it build within the same build tree # Make it build within the same build tree
get_directory_property (backup_includes INCLUDE_DIRECTORIES) get_directory_property (backup_includes INCLUDE_DIRECTORIES)
set_directory_properties (PROPERTIES INCLUDE_DIRECTORIES "") set_directory_properties (PROPERTIES INCLUDE_DIRECTORIES "")
@ -291,7 +294,7 @@ if (OPTION_USE_VERA)
set (vera_srcs ${liblogdiag_SOURCES} ${logdiag_SOURCES} ${logdiag_HEADERS}) set (vera_srcs ${liblogdiag_SOURCES} ${logdiag_SOURCES} ${logdiag_HEADERS})
set (vera_output ${CMAKE_CURRENT_BINARY_DIR}/vera.log) set (vera_output ${CMAKE_CURRENT_BINARY_DIR}/vera.log)
add_custom_command (OUTPUT ${vera_output} add_custom_command (OUTPUT ${vera_output}
COMMAND vera++ COMMAND vera
-R F001 -R L001 -R T001 -R T004 -R T005 -R T006 -R F001 -R L001 -R T001 -R T004 -R T005 -R T006
-R T007 -R T009 -R T010 -R T015 -R T017 -R T018 -R T007 -R T009 -R T010 -R T015 -R T017 -R T018
-R L004 -P max-line-length=80 -R L004 -P max-line-length=80

2
vera++

@ -1 +1 @@
Subproject commit b519b74ff8ecf792ee52eca7d294c64210f99380 Subproject commit 45f3ab870d3722891642098bd7fc0d6fc97c8571