llvm-project/lldb/unittests/ObjectFile/ELF/CMakeLists.txt

19 lines
415 B
CMake

add_lldb_unittest(ObjectFileELFTests
TestObjectFileELF.cpp
LINK_LIBS
lldbPluginObjectFileELF
lldbPluginSymbolVendorELF
lldbCore
lldbUtilityHelpers
)
add_dependencies(ObjectFileELFTests yaml2obj)
add_definitions(-DYAML2OBJ="$<TARGET_FILE:yaml2obj>")
set(test_inputs
early-section-headers.so
sections-resolve-consistently.yaml
)
add_unittest_inputs(ObjectFileELFTests "${test_inputs}")