llvm-project/lldb/unittests/Core/CMakeLists.txt

29 lines
570 B
CMake

add_lldb_unittest(LLDBCoreTests
BroadcasterTest.cpp
DataExtractorTest.cpp
EventTest.cpp
ListenerTest.cpp
MangledTest.cpp
RangeTest.cpp
RichManglingContextTest.cpp
StreamCallbackTest.cpp
LINK_LIBS
lldbCore
lldbHost
lldbSymbol
lldbPluginObjectFileELF
lldbPluginSymbolVendorELF
lldbUtilityHelpers
LINK_COMPONENTS
Support
)
add_dependencies(LLDBCoreTests yaml2obj)
add_definitions(-DYAML2OBJ="$<TARGET_FILE:yaml2obj>")
set(test_inputs
mangled-function-names.yaml
)
add_unittest_inputs(LLDBCoreTests "${test_inputs}")