Start adding support for generating CC1 command lines from CompilerInvocation
[llvm-project.git] / lld / MinGW / CMakeLists.txt
blobbb0fe4a3887d7f6d6492e2f9c7e9beadc885cf78
1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(MinGWOptionsTableGen)
5 if(NOT LLD_BUILT_STANDALONE)
6   set(tablegen_deps intrinsics_gen)
7 endif()
9 add_lld_library(lldMinGW
10   Driver.cpp
12   LINK_COMPONENTS
13   Option
14   Support
16   LINK_LIBS
17   lldCOFF
18   lldCommon
20   DEPENDS
21   MinGWOptionsTableGen
22   ${tablegen_deps}