aboutsummaryrefslogtreecommitdiff
path: root/MinGW/CMakeLists.txt
blob: 4977eb399e5cf6b34f83fbd9f3cd16f3b3dfd836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(MinGWOptionsTableGen)

if(NOT LLD_BUILT_STANDALONE)
  set(tablegen_deps intrinsics_gen)
endif()

add_lld_library(lldMinGW
  Driver.cpp

  LINK_COMPONENTS
  Support
  Option

  LINK_LIBS
  lldCOFF

  DEPENDS
  MinGWOptionsTableGen
  ${tablegen_deps}
)