cmake: Define global clang-tidy and clang-format targets

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-01-30 12:57:24 +01:00
parent d55d086a6d
commit 2871b9ccef

View file

@ -2044,11 +2044,13 @@ if(T_CHECK AND HAVE_CLANG)
)
clang_tidy(
TARGETS ${PROJECT_NAME}
GLOBAL
VERSION 14.0.0
)
clang_format(
TARGETS ${PROJECT_NAME}
DEPENDENCY
GLOBAL
VERSION 14.0.0
)
endif()