1set(LLVM_LINK_COMPONENTS
2  Option
3  Support
4  )
5
6if(WIN32)
7  # MSVCToolChain.cpp uses version.dll.
8  set(system_libs version)
9endif()
10
11add_clang_library(clangDriver
12  Action.cpp
13  Compilation.cpp
14  CrossWindowsToolChain.cpp
15  Driver.cpp
16  DriverOptions.cpp
17  Job.cpp
18  MinGWToolChain.cpp
19  Multilib.cpp
20  MSVCToolChain.cpp
21  Phases.cpp
22  SanitizerArgs.cpp
23  Tool.cpp
24  ToolChain.cpp
25  ToolChains.cpp
26  Tools.cpp
27  Types.cpp
28
29  DEPENDS
30  ClangDriverOptions
31
32  LINK_LIBS
33  clangBasic
34  ${system_libs}
35  )
36