summaryrefslogtreecommitdiffstats
path: root/lld/MinGW/CMakeLists.txt
blob: bb0fe4a3887d7f6d6492e2f9c7e9beadc885cf78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
  Option
  Support

  LINK_LIBS
  lldCOFF
  lldCommon

  DEPENDS
  MinGWOptionsTableGen
  ${tablegen_deps}
)
OpenPOWER on IntegriCloud