summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt27
1 files changed, 0 insertions, 27 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt b/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
index 86ff4f689bd..56eacc941d6 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
@@ -11,16 +11,10 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
endif()
endif()
-if(NOT LLDB_DISABLE_PYTHON)
- get_target_property(lldb_scripts_dir swig_wrapper BINARY_DIR)
- set(lldb_python_wrapper ${lldb_scripts_dir}/LLDBWrapPython.cpp)
-endif()
-
add_lldb_library(lldbPluginScriptInterpreterPython PLUGIN
PythonDataObjects.cpp
PythonExceptionState.cpp
ScriptInterpreterPython.cpp
- ${lldb_python_wrapper}
LINK_LIBS
lldbBreakpoint
@@ -32,24 +26,3 @@ add_lldb_library(lldbPluginScriptInterpreterPython PLUGIN
LINK_COMPONENTS
Support
)
-
-if(lldb_python_wrapper)
- add_dependencies(lldbPluginScriptInterpreterPython swig_wrapper)
-
- if (MSVC)
- set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " /W0")
- else()
- set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " -w")
- endif()
-
- set_source_files_properties(${lldb_python_wrapper} PROPERTIES GENERATED ON)
- if (CLANG_CL)
- set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING
- PROPERTY COMPILE_FLAGS " -Wno-unused-function")
- endif()
- if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND
- NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
- set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING
- PROPERTY COMPILE_FLAGS " -Wno-sequence-point -Wno-cast-qual")
- endif ()
-endif()
OpenPOWER on IntegriCloud