llvm-capstone/lld/MinGW/CMakeLists.txt
Michele Scandale 53880b8cb9 [CMake] Make intrinsics_gen dependency unconditional.
The `intrinsics_gen` target exists in the CMake exports since r309389
(see LLVMConfig.cmake.in), hence projects can depend on `intrinsics_gen`
even it they are built separately from LLVM.

Reviewed By: MaskRay, JDevlieghere

Differential Revision: https://reviews.llvm.org/D83454
2020-07-17 16:43:17 -07:00

20 lines
302 B
CMake

set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(MinGWOptionsTableGen)
add_lld_library(lldMinGW
Driver.cpp
LINK_COMPONENTS
Option
Support
LINK_LIBS
lldCOFF
lldCommon
DEPENDS
MinGWOptionsTableGen
intrinsics_gen
)