Commit add3e331 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

move all python stuff really to the python addon

avoids any polution outside of the skeleton plugin
parent 91990314
Pipeline #257110 failed with stage
in 60 minutes and 15 seconds
......@@ -18,8 +18,6 @@ set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
option(BUILD_PYTHON_BINDINDS "Enable building python bindings" OFF)
# We need some parts of the ECM CMake helpers.
find_package(ECM ${KF5_DEP_VERSION} QUIET REQUIRED NO_MODULE)
......
......@@ -5,7 +5,8 @@ endfunction()
# Most plugins will need to link against KF5TextEditor to have access to its plugin interface.
find_package(KF5TextEditor ${KF5_DEP_VERSION} QUIET REQUIRED)
# python plugin
# python plugin, purely optional ATM
option(BUILD_PYTHON_BINDINDS "Enable building python bindings" OFF)
if (BUILD_PYTHON_BINDINDS)
ecm_optional_add_subdirectory(python)
endif()
......
......@@ -2,6 +2,9 @@
# Kate Python bindings
#
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
remove_definitions(-DQT_STRICT_ITERATORS)
set(PYTHON_BINDING_NAMESPACE "PyKate")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment