zig/deps/lld/lib/Driver/CMakeLists.txt

24 lines
441 B
CMake
Raw Normal View History

set(LLVM_TARGET_DEFINITIONS DarwinLdOptions.td)
tablegen(LLVM DarwinLdOptions.inc -gen-opt-parser-defs)
add_public_tablegen_target(DriverOptionsTableGen)
add_lld_library(lldDriver
DarwinLdDriver.cpp
ADDITIONAL_HEADER_DIRS
${LLD_INCLUDE_DIR}/lld/Driver
LINK_COMPONENTS
Option
Support
LINK_LIBS
2018-08-05 05:47:16 +08:00
lldCommon
lldCore
2018-01-18 06:29:21 +08:00
lldMachO
lldReaderWriter
lldYAML
)
add_dependencies(lldDriver DriverOptionsTableGen)