1 lldb_tablegen(PlatformMacOSXProperties.inc -gen-lldb-property-defs
2 SOURCE PlatformMacOSXProperties.td
3 TARGET LLDBPluginPlatformMacOSXPropertiesGen)
5 lldb_tablegen(PlatformMacOSXPropertiesEnum.inc -gen-lldb-property-enum-defs
6 SOURCE PlatformMacOSXProperties.td
7 TARGET LLDBPluginPlatformMacOSXPropertiesEnumGen)
9 list(APPEND PLUGIN_PLATFORM_MACOSX_SOURCES
11 PlatformDarwinDevice.cpp
12 PlatformDarwinKernel.cpp
14 PlatformRemoteAppleBridge.cpp
15 PlatformRemoteAppleTV.cpp
16 PlatformRemoteAppleWatch.cpp
17 PlatformRemoteAppleXR.cpp
18 PlatformRemoteDarwinDevice.cpp
19 PlatformRemoteMacOSX.cpp
23 list(APPEND PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES
24 PlatformAppleSimulator.cpp
27 if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
28 add_subdirectory(objcxx)
29 set(OBJC_LIBS "lldbPluginPlatformMacOSXObjCXX")
30 list(APPEND PLUGIN_PLATFORM_MACOSX_SOURCES
31 ${PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES})
33 list(APPEND LLVM_OPTIONAL_SOURCES
34 ${PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES})
37 add_lldb_library(lldbPluginPlatformMacOSX PLUGIN
38 ${PLUGIN_PLATFORM_MACOSX_SOURCES}
48 lldbPluginDynamicLoaderDarwinKernel
49 lldbPluginObjectContainerMachOFileset
50 lldbPluginPlatformPOSIX
59 add_dependencies(lldbPluginPlatformMacOSX
60 LLDBPluginPlatformMacOSXPropertiesGen
61 LLDBPluginPlatformMacOSXPropertiesEnumGen)