[MemProf] Templatize CallStackRadixTreeBuilder (NFC) (#117014)
[llvm-project.git] / flang / lib / Frontend / CMakeLists.txt
blobe954800c3b88b08901ea506b6b9145e9987870c5
1 get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
2 get_property(extension_libs GLOBAL PROPERTY MLIR_EXTENSION_LIBS)
4 add_flang_library(flangFrontend
5   CompilerInstance.cpp
6   CompilerInvocation.cpp
7   CodeGenOptions.cpp
8   FrontendAction.cpp
9   FrontendActions.cpp
10   FrontendOptions.cpp
11   TextDiagnosticPrinter.cpp
12   TextDiagnosticBuffer.cpp
13   TextDiagnostic.cpp
15   DEPENDS
16   CUFDialect
17   FIRDialect
18   FIROptCodeGenPassIncGen
19   FIROptTransformsPassIncGen
20   HLFIRDialect
21   MLIRIR
22   ${dialect_libs}
23   ${extension_libs}
25   LINK_LIBS
26   CUFDialect
27   FortranParser
28   FortranSemantics
29   FortranEvaluate
30   FortranCommon
31   FortranLower
32   FIRDialect
33   FIRDialectSupport
34   FIRSupport
35   FIRBuilder
36   FIRCodeGen
37   FIRTransforms
38   HLFIRDialect
39   HLFIRTransforms
40   flangPasses
41   FlangOpenMPTransforms
42   MLIRTransforms
43   MLIRBuiltinToLLVMIRTranslation
44   MLIRLLVMToLLVMIRTranslation
45   MLIRSCFToControlFlow
46   MLIRTargetLLVMIRImport
47   ${dialect_libs}
48   ${extension_libs}
50   LINK_COMPONENTS
51   Passes
52   Analysis
53   Extensions
54   IRPrinter
55   IRReader
56   Option
57   Support
58   Target
59   TargetParser
60   FrontendDriver
61   FrontendOpenACC
62   FrontendOpenMP
64   CLANG_LIBS
65   clangBasic
66   clangDriver