diff options
author | Mathias Winterhalter <2370037-ToolsDevler@users.noreply.gitlab.com> | 2022-04-30 01:21:52 +0300 |
---|---|---|
committer | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2022-04-30 01:21:52 +0300 |
commit | faead9ed83c97c5260910f14b232dcb3f9c89d7b (patch) | |
tree | 5a1ef0d7fa6fcf258510361d63a7c4a89f47d620 /src/CMakeLists.txt | |
parent | 90f483b1afb43db0bc7f5e68f844931953bb185d (diff) |
Extract python plugin
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a743f5d9a..8d7ddadbb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -141,50 +141,6 @@ set(RESOURCE_LIST ${CMAKE_CURRENT_SOURCE_DIR}/../data/ui/remmina_spinner.glade ${CMAKE_CURRENT_SOURCE_DIR}/../data/ui/remmina_string_list.glade ${CMAKE_CURRENT_SOURCE_DIR}/../data/ui/remmina_unlock.glade) - -option(WITH_PYTHONLIBS "Enable Python plugins support" OFF) -if(WITH_PYTHONLIBS) - message(STATUS "Python plugins support enabled") - find_suggested_package(PythonLibs) - if(PythonLibs_FOUND) - message(STATUS "Python libs found, Python support enabled") - add_definitions(-DWITH_PYTHONLIBS) - list(FIND REMMINA_SRCS "remmina_exec.c" SRCINDEX) - message(DEBUG "remmina_exec.c found at index: " ${SRCINDEX}) - # Index calculated at "remmina_exec.c" position (43 as of today) - list( - INSERT - REMMINA_SRCS - ${SRCINDEX} - "remmina_plugin_python.c" - "remmina_plugin_python.h" - "remmina_plugin_python_protocol.c" - "remmina_plugin_python_protocol.h" - "remmina_plugin_python_entry.c" - "remmina_plugin_python_entry.h" - "remmina_plugin_python_file.c" - "remmina_plugin_python_file.h" - "remmina_plugin_python_secret.c" - "remmina_plugin_python_secret.h" - "remmina_plugin_python_tool.c" - "remmina_plugin_python_tool.h" - "remmina_plugin_python_pref.c" - "remmina_plugin_python_pref.h" - "remmina_plugin_python_common.c" - "remmina_plugin_python_common.h" - "remmina_plugin_python_remmina.c" - "remmina_plugin_python_remmina.h" - "remmina_plugin_python_protocol_widget.c" - "remmina_plugin_python_protocol_widget.h" - "remmina_plugin_python_remmina_file.c" - "remmina_plugin_python_remmina_file.h") - else() - message(STATUS "Python plugins support enabled, but Python libs not found") - endif() -else() - message(STATUS "Python plugins support disabled") -endif() - message(DEBUG "Source list set to: " ${REMMINA_SRCS}) compile_gresources( |