2015-10-29 02:21:45 +08:00
|
|
|
include_directories(.)
|
|
|
|
include_directories(../../Utility)
|
|
|
|
|
|
|
|
set(PROC_WINDOWS_COMMON_SOURCES
|
2016-11-24 00:26:37 +08:00
|
|
|
DebuggerThread.cpp
|
|
|
|
LocalDebugDelegate.cpp
|
2015-10-29 02:21:45 +08:00
|
|
|
ProcessWindows.cpp
|
|
|
|
ProcessWindowsLog.cpp
|
2016-11-24 00:26:37 +08:00
|
|
|
RegisterContextWindows.cpp
|
2015-10-29 02:21:45 +08:00
|
|
|
TargetThreadWindows.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
|
|
set(PROC_WINDOWS_COMMON_SOURCES ${PROC_WINDOWS_COMMON_SOURCES}
|
|
|
|
x86/RegisterContextWindows_x86.cpp
|
|
|
|
)
|
|
|
|
elseif (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
|
|
set(PROC_WINDOWS_COMMON_SOURCES ${PROC_WINDOWS_COMMON_SOURCES}
|
|
|
|
x64/RegisterContextWindows_x64.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2017-02-01 06:29:11 +08:00
|
|
|
add_lldb_library(lldbPluginProcessWindowsCommon PLUGIN
|
2015-10-29 02:21:45 +08:00
|
|
|
${PROC_WINDOWS_COMMON_SOURCES}
|
2017-02-01 06:29:11 +08:00
|
|
|
|
|
|
|
LINK_LIBS
|
|
|
|
lldbCore
|
|
|
|
lldbHost
|
|
|
|
lldbInterpreter
|
|
|
|
lldbTarget
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Support
|
2015-10-29 02:21:45 +08:00
|
|
|
)
|