Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmake/ClangTidy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function(perform_clang_tidy check_target target)
set_target_properties(${check_target}
PROPERTIES
FOLDER "Maintenance"
EXCLUDE_FROM_DEFAULT_BUILD 1
)

add_dependencies(${check_target} ${target})
Expand Down
1 change: 1 addition & 0 deletions cmake/Cppcheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function(perform_cppcheck check_target target)
set_target_properties(${check_target}
PROPERTIES
FOLDER "Maintenance"
EXCLUDE_FROM_DEFAULT_BUILD 1
)

add_dependencies(${check_target} ${target})
Expand Down
8 changes: 8 additions & 0 deletions cmake/HealthCheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ function(perform_health_checks target)
set_target_properties(check-all
PROPERTIES
FOLDER "Maintenance"
EXCLUDE_FROM_DEFAULT_BUILD 1
)
endif()

add_custom_target(check-${target})

set_target_properties(check-${target}
PROPERTIES
FOLDER "Maintenance"
EXCLUDE_FROM_DEFAULT_BUILD 1
)

if (OPTION_CPPCHECK_ENABLED)
perform_cppcheck(cppcheck-${target} ${target} ${ARGN})
add_dependencies(check-${target} cppcheck-${target})
Expand Down Expand Up @@ -92,5 +99,6 @@ function(add_check_template_target current_template_sha)
set_target_properties(check-template
PROPERTIES
FOLDER "Maintenance"
EXCLUDE_FROM_DEFAULT_BUILD 1
)
endfunction()