aboutsummaryrefslogtreecommitdiffstats
path: root/optional/projectexplorer/binding_custom.pri
diff options
context:
space:
mode:
Diffstat (limited to 'optional/projectexplorer/binding_custom.pri')
-rw-r--r--optional/projectexplorer/binding_custom.pri57
1 files changed, 57 insertions, 0 deletions
diff --git a/optional/projectexplorer/binding_custom.pri b/optional/projectexplorer/binding_custom.pri
new file mode 100644
index 0000000..b9e3faf
--- /dev/null
+++ b/optional/projectexplorer/binding_custom.pri
@@ -0,0 +1,57 @@
+# Additional sources
+
+SOURCES += \
+ # optional
+
+HEADERS += \
+ # optional
+
+
+# Declare dependencies and name
+
+# This has to be PythonBinding{PluginName}
+QTC_PLUGIN_NAME = PythonBindingProjectExplorer
+QTC_LIB_DEPENDS += \
+ extensionsystem \
+ utils
+
+QTC_PLUGIN_DEPENDS += \
+ coreplugin \
+ projectexplorer \
+ pythonextensions
+
+QTC_PLUGIN_RECOMMENDS += \
+ # optional plugin dependencies. nothing here at this time
+
+
+# Shiboken binding generation setup
+
+WRAPPED_HEADER = wrappedclasses.h
+WRAPPER_DIR = $$OUT_PWD/QtCreatorBindingProjectExplorer
+TYPESYSTEM_FILE = typesystem_projectexplorer.xml
+
+TYPESYSTEM_NAME = qtcreatorbindingprojectexplorer
+
+## Include additional QtCreator paths
+QT_INCLUDEPATHS += \
+ -I"$$IDE_SOURCE_TREE/src/plugins/projectexplorer"
+
+INCLUDEPATH += \
+ $$IDE_SOURCE_TREE/src/plugins/projectexplorer \
+ $$IDE_SOURCE_TREE/src/libs/utils
+
+## These headers are needed so the generated wrappers are added to the
+## build. Right now they are empty files, however there might be a more elegant
+## option.
+WRAPPED_CLASSES = \
+ bindingheaders/projectexplorer.h \
+ bindingheaders/projectexplorer_buildconfiguration.h \
+ bindingheaders/projectexplorer_projectconfiguration.h \
+ bindingheaders/projectexplorer_statefulprojectconfiguration.h \
+ # bindingheaders/projectexplorer_ibuildconfigurationfactory.h \
+ bindingheaders/projectexplorer_runconfiguration.h \
+ bindingheaders/projectexplorer_project.h \
+ bindingheaders/projectexplorer_projecttree.h \
+ bindingheaders/utils.h \
+ bindingheaders/utils_filename.h \
+# Sentinel line