Target
Option
Support
+
+ LINK_LIBS ${PTHREAD_LIB}
)
add_dependencies(lldCOFF COFFOptionsTableGen)
Writer.cpp
LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ BitReader
+ Core
+ Linker
Object
Option
MC
Support
+ Target
LINK_LIBS
lldConfig
lldYAML
LLVMObject
LLVMSupport
+ ${PTHREAD_LIB}
)
include_directories(.)
target_link_libraries(lld
lldDriver
lldCOFF
+ lldELF
LLVMSupport
)
add_lld_unittest(CoreTests
ParallelTest.cpp
)
+
+target_link_libraries(CoreTests
+ ${PTHREAD_LIB}
+ )