aboutsummaryrefslogtreecommitdiffstats
path: root/optional/projectexplorer/binding_custom.pri
blob: b9e3fafd97154fdaca1b50091ad91108751b2c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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