2017-02-01 04:43:05 +08:00
|
|
|
if ( CMAKE_SYSTEM_NAME MATCHES "Linux|Android|FreeBSD|NetBSD" )
|
|
|
|
list(APPEND EXTRA_PLUGINS lldbPluginProcessPOSIX)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
|
2017-02-09 05:00:46 +08:00
|
|
|
list(APPEND EXTRA_PLUGINS lldbPluginProcessWindowsCommon)
|
2017-02-01 04:43:05 +08:00
|
|
|
endif ()
|
|
|
|
|
2015-03-20 06:00:21 +08:00
|
|
|
add_lldb_library(lldbInitialization
|
2015-04-01 05:03:22 +08:00
|
|
|
SystemInitializerCommon.cpp
|
|
|
|
SystemInitializer.cpp
|
|
|
|
SystemLifetimeManager.cpp
|
2017-02-01 04:43:05 +08:00
|
|
|
|
|
|
|
LINK_LIBS
|
|
|
|
lldbCore
|
|
|
|
lldbHost
|
|
|
|
lldbPluginProcessGDBRemote
|
|
|
|
${EXTRA_PLUGINS}
|
2017-02-09 05:00:46 +08:00
|
|
|
${LLDB_SYSTEM_LIBS}
|
2017-02-01 04:43:05 +08:00
|
|
|
LINK_COMPONENTS
|
|
|
|
Support
|
2015-03-20 06:00:21 +08:00
|
|
|
)
|