Files
clang-p2996/lldb/unittests/Target/CMakeLists.txt
Pavel Labath 2c4f67794b [lldb/cmake] Implicitly pass arguments to llvm_add_library (#142583)
If we're not touching them, we don't need to do anything special to pass
them along -- with one important caveat: due to how cmake arguments
work, the implicitly passed arguments need to be specified before
arguments that we handle.

This isn't particularly nice, but the alternative is enumerating all
arguments that can be used by llvm_add_library and the macros it calls
(it also relies on implicit passing of some arguments to
llvm_process_sources).
2025-06-04 11:33:37 +02:00

42 lines
920 B
CMake

add_lldb_unittest(TargetTests
ABITest.cpp
DynamicRegisterInfoTest.cpp
ExecutionContextTest.cpp
LocateModuleCallbackTest.cpp
MemoryRegionInfoTest.cpp
MemoryTest.cpp
MemoryTagMapTest.cpp
ModuleCacheTest.cpp
PathMappingListTest.cpp
RegisterFlagsTest.cpp
RemoteAwarePlatformTest.cpp
StackFrameRecognizerTest.cpp
SummaryStatisticsTest.cpp
FindFileTest.cpp
LINK_COMPONENTS
Support
LINK_LIBS
lldbCore
lldbHost
lldbPluginObjectFileBreakpad
lldbPluginObjectFileELF
lldbPluginPlatformLinux
lldbPluginPlatformMacOSX
lldbPluginPlatformAndroid
lldbPluginSymbolFileBreakpad
lldbPluginSymbolFileSymtab
lldbTarget
lldbSymbol
lldbUtility
lldbUtilityHelpers
)
set(test_inputs
AndroidModule.so
AndroidModule.so.sym
AndroidModule.unstripped.so
TestModule.so
)
add_unittest_inputs(TargetTests "${test_inputs}")