[mlir][py] Enable loading only specified dialects during creation. (#121421)
[llvm-project.git] / lldb / source / Initialization / CMakeLists.txt
blobb6282e162aa102eba26306e7e8fbee996872dcac
1 if ( CMAKE_SYSTEM_NAME MATCHES "Linux|Android|FreeBSD|NetBSD|OpenBSD" )
2   list(APPEND EXTRA_PLUGINS lldbPluginProcessPOSIX)
3 endif()
5 if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
6   list(APPEND EXTRA_PLUGINS lldbPluginProcessWindowsCommon)
7 endif ()
9 add_lldb_library(lldbInitialization
10   SystemInitializerCommon.cpp
11   SystemInitializer.cpp
12   SystemLifetimeManager.cpp
14   LINK_LIBS
15     lldbCore
16     lldbHost
17     lldbPluginProcessGDBRemote
18     ${EXTRA_PLUGINS}
19     ${LLDB_SYSTEM_LIBS}
20   LINK_COMPONENTS
21     Support
22   )