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

27 lines
728 B
CMake

lldb_tablegen(PlatformAndroidProperties.inc -gen-lldb-property-defs
SOURCE PlatformAndroidProperties.td
TARGET LLDBPluginPlatformAndroidPropertiesGen)
lldb_tablegen(PlatformAndroidPropertiesEnum.inc -gen-lldb-property-enum-defs
SOURCE PlatformAndroidProperties.td
TARGET LLDBPluginPlatformAndroidPropertiesEnumGen)
add_lldb_library(lldbPluginPlatformAndroid PLUGIN
AdbClient.cpp
PlatformAndroid.cpp
PlatformAndroidRemoteGDBServer.cpp
LINK_COMPONENTS
Support
LINK_LIBS
lldbCore
lldbHost
lldbValueObject
lldbPluginPlatformLinux
lldbPluginPlatformGDB
)
add_dependencies(lldbPluginPlatformAndroid
LLDBPluginPlatformAndroidPropertiesGen
LLDBPluginPlatformAndroidPropertiesEnumGen)