mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove existing hand-written clang-tidy setup
This commit is contained in:
parent
c1dd1e991e
commit
36c1a3ca4a
2 changed files with 0 additions and 14 deletions
|
@ -374,7 +374,6 @@ function (zeek_add_subdir_library name)
|
|||
target_compile_definitions(${target_name} PRIVATE ZEEK_CONFIG_SKIP_VERSION_H)
|
||||
add_dependencies(${target_name} zeek_autogen_files)
|
||||
target_link_libraries(${target_name} PRIVATE $<BUILD_INTERFACE:zeek_internal>)
|
||||
add_clang_tidy_files(${FN_ARGS_SOURCES})
|
||||
target_compile_options(${target_name} PRIVATE ${WERROR_FLAG})
|
||||
|
||||
# Take care of compiling BIFs.
|
||||
|
|
|
@ -546,9 +546,6 @@ set(zeek_SRCS
|
|||
${CMAKE_CURRENT_BINARY_DIR}/DebugCmdConstants.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ZAM-MethodDecls.h)
|
||||
|
||||
# Add the above files to the list of clang tidy sources before adding the third party and HH
|
||||
# sources. Also, the main_SRCS will get added to that list separately.
|
||||
add_clang_tidy_files(${zeek_SRCS})
|
||||
list(APPEND zeek_SRCS ${THIRD_PARTY_SRCS})
|
||||
list(APPEND zeek_SRCS ${HH_SRCS})
|
||||
list(APPEND zeek_SRCS ${MAIN_SRCS})
|
||||
|
@ -703,16 +700,6 @@ install(
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/doctest.h
|
||||
DESTINATION include/zeek/3rdparty)
|
||||
|
||||
# ##############################################################################
|
||||
# Clang-tidy target now that we have all of the sources
|
||||
|
||||
add_clang_tidy_files(${MAIN_SRCS})
|
||||
|
||||
# At this point we have included all of the cc files in src, all of the BinPAC
|
||||
# (*.pac.cc) files, and most of the generated code for BIFs (not including
|
||||
# *.bif.register.cc)
|
||||
create_clang_tidy_target()
|
||||
|
||||
# ##############################################################################
|
||||
# CTest setup.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue