[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / lib / FrontendTool / CMakeLists.txt
blob51c379ade2704c309d9b84f4064ff108b7983528
1 set(LLVM_LINK_COMPONENTS
2   Option
3   Support
4   )
6 set(link_libs
7   clangBasic
8   clangCodeGen
9   clangDriver
10   clangExtractAPI
11   clangFrontend
12   clangRewriteFrontend
13   )
15 if(CLANG_ENABLE_ARCMT)
16   list(APPEND link_libs
17     clangARCMigrate
18     )
19 endif()
21 if(CLANG_ENABLE_STATIC_ANALYZER)
22   list(APPEND link_libs
23     clangStaticAnalyzerFrontend
24     )
25 endif()
27 add_clang_library(clangFrontendTool
28   ExecuteCompilerInvocation.cpp
30   DEPENDS
31   ClangDriverOptions
33   LINK_LIBS
34   ${link_libs}
35   )