office-gobmx/odk/CustomTarget_build-examples.mk
Hossein b9a36edc6d Add a minimal Python extension
This is a minimal Python extension. It is possible to run main.py from:

1. Inside a LibreOffice extension
2. Inside LibreOffice, and also via APSO
3. Outside LibreOffice, as an external process, and also in a Python IDE

The provided Python script is very useful for debugging extensions as an
example. That is because it is possible to debug it in an IDE before
packaging it as a LibreOffice extension.

Python file is checked with:

$ flake8 --ignore E501 main.py

Change-Id: I24d9aefdfda29264bf6b5f9403a40fae35e610f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159938
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-01-16 10:54:20 +01:00

39 lines
1.3 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
my_example_dirs = \
CLI/CSharp/Spreadsheet \
CLI/VB.NET/WriterDemo \
DevelopersGuide/FirstSteps/FirstUnoContact/cxx \
DevelopersGuide/FirstSteps/FirstLoadComponent/cxx \
DevelopersGuide/BasicAndDialogs/ToolkitControls \
DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp \
DevelopersGuide/Components/CppComponent \
DevelopersGuide/Database/DriverSkeleton \
DevelopersGuide/Extensions/DialogWithHelp \
DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp \
DevelopersGuide/ProfUNO/CppBinding \
DevelopersGuide/ProfUNO/SimpleBootstrap_cpp \
OLE/activex \
cpp/Draw \
cpp/Convertor \
cpp/DocumentLoader \
cpp/complextoolbarcontrols \
cpp/counter \
cpp/remoteclient \
python/toolpanel \
python/minimal-extension \
# cpp/custompanel \
$(eval $(call odk_build-examples_test,odk/build-examples,$(my_example_dirs)))
# vim: set noet sw=4 ts=4: