llvm-project/llvm/unittests/Object/CMakeLists.txt

22 lines
392 B
CMake

set(LLVM_LINK_COMPONENTS
BinaryFormat
Object
ObjectYAML
)
add_llvm_unittest(ObjectTests
ArchiveTest.cpp
DXContainerTest.cpp
ELFObjectFileTest.cpp
ELFTypesTest.cpp
ELFTest.cpp
MinidumpTest.cpp
ObjectFileTest.cpp
OffloadingTest.cpp
SymbolSizeTest.cpp
SymbolicFileTest.cpp
XCOFFObjectFileTest.cpp
)
target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)