summaryrefslogtreecommitdiff
path: root/lib/Driver/CMakeLists.txt
blob: 3d03da04d11e560242ff26d711387ad9cdb50441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
set(LLVM_LINK_COMPONENTS
  Option
  Support
  )

if(WIN32)
  # MSVCToolChain.cpp uses version.dll.
  set(system_libs version)
endif()

add_clang_library(clangDriver
  Action.cpp
  Arch/AArch64.cpp
  Arch/ARM.cpp
  Arch/Mips.cpp
  Arch/PPC.cpp
  Arch/Sparc.cpp
  Arch/SystemZ.cpp
  Arch/X86.cpp
  Compilation.cpp
  CrossWindowsToolChain.cpp
  Distro.cpp
  Driver.cpp
  DriverOptions.cpp
  Job.cpp
  MSVCToolChain.cpp
  MinGWToolChain.cpp
  Multilib.cpp
  Phases.cpp
  SanitizerArgs.cpp
  Tool.cpp
  ToolChain.cpp
  ToolChains.cpp
  Tools.cpp
  Types.cpp

  DEPENDS
  ClangDriverOptions

  LINK_LIBS
  clangBasic
  ${system_libs}
  )