llvm-project/lld/lib/ReaderWriter/CMakeLists.txt

20 lines
353 B
CMake
Raw Normal View History

set(LLVM_LINK_COMPONENTS object)
add_subdirectory(ELF)
add_subdirectory(MachO)
add_subdirectory(Native)
add_subdirectory(PECOFF)
add_subdirectory(YAML)
add_lld_library(lldReaderWriter
CoreTargetInfo.cpp
LinkerScript.cpp
Reader.cpp
ReaderArchive.cpp
ReaderLinkerScript.cpp
Writer.cpp
)
target_link_libraries(lldReaderWriter
lldCore
)