[lldb] Add ability to hide the root name of a value
[llvm-project.git] / flang / lib / FrontendTool / CMakeLists.txt
blob59e4bd5d35736871e8419a94c4ff8b77e40245b3
1 add_flang_library(flangFrontendTool
2   ExecuteCompilerInvocation.cpp
4   DEPENDS
5   # This makes sure that the MLIR dependencies of flangFrontend (which are
6   # transitively required here) are generated before this target is build.
7   flangFrontend
9   LINK_LIBS
10   flangFrontend
11   MLIRPass
13   LINK_COMPONENTS
14   Option
15   Support
18 if(CLANG_LINK_CLANG_DYLIB)
19   add_dependencies(flangFrontend clang-cpp)
20 else()
21   add_dependencies(flangFrontendTool clangBasic)
22 endif()
24 clang_target_link_libraries(flangFrontendTool
25   PRIVATE
26   clangBasic
27   clangDriver