aboutsummaryrefslogtreecommitdiff
path: root/source/Plugins/Process/Windows/Common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source/Plugins/Process/Windows/Common/CMakeLists.txt')
-rw-r--r--source/Plugins/Process/Windows/Common/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/Plugins/Process/Windows/Common/CMakeLists.txt b/source/Plugins/Process/Windows/Common/CMakeLists.txt
new file mode 100644
index 000000000000..5a53c3c3300c
--- /dev/null
+++ b/source/Plugins/Process/Windows/Common/CMakeLists.txt
@@ -0,0 +1,23 @@
+include_directories(.)
+include_directories(../../Utility)
+
+set(PROC_WINDOWS_COMMON_SOURCES
+ RegisterContextWindows.cpp
+ ProcessWindows.cpp
+ ProcessWindowsLog.cpp
+ 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()
+
+add_lldb_library(lldbPluginProcessWindowsCommon
+ ${PROC_WINDOWS_COMMON_SOURCES}
+ )