llvm-project/clang-tools-extra/clang-tidy/altera/CMakeLists.txt

24 lines
361 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
support
)
add_clang_library(clangTidyAlteraModule
AlteraTidyModule.cpp
KernelNameRestrictionCheck.cpp
StructPackAlignCheck.cpp
LINK_LIBS
clangTidy
clangTidyUtils
)
clang_target_link_libraries(clangTidyAlteraModule
PRIVATE
clangAnalysis
clangAST
clangASTMatchers
clangBasic
clangLex
)