summaryrefslogtreecommitdiff
path: root/src/tools/ivigenerator/templates_frontend.yaml
blob: c455e21f3e8687702741667551569227c85a7f34 (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
generate_rules:
    module_rules:
        - dest_file:  "{{module.module_name|lower}}global.h"
          template_file:  "global.h.tpl"
        - dest_file:  "{{module.module_name|lower}}module.h"
          template_file:  "module.h.tpl"
        - dest_file:  "{{module.module_name|lower}}module.cpp"
          template_file:  "module.cpp.tpl"
        - dest_file:  "{{module.module_name|lower}}module_enum.qdocinc"
          template_file:  "module_qml_enum.qdocinc.tpl"
        - dest_file:  "{{module.module_name|lower}}modulefactory.h"
          template_file:  "modulefactory.h.tpl"
        - dest_file:  "{{module.module_name|lower}}modulefactory.cpp"
          template_file:  "modulefactory.cpp.tpl"
        - dest_file:  "{{srcBase|lower}}.pri"
          template_file:  "module.pri.tpl"
        - dest_file: "qml/{{module|qml_type|replace('.', '/')}}/plugins.qmltypes"
          template_file:  "common/plugins.qmltypes.tpl"
        - dest_file: "qml/{{module|qml_type|replace('.', '/')}}/qmldir"
          template_file:  "common/qmldir.tpl"
    interface_rules:
        - dest_file: '{{interface|lower}}backendinterface.h'
          template_file: 'backendinterface.h.tpl'
        - dest_file: '{{interface|lower}}backendinterface.cpp'
          template_file: 'backendinterface.cpp.tpl'
        - dest_file: '{{interface|lower}}.h'
          template_file: 'interface.h.tpl'
        - dest_file: '{{interface|lower}}_p.h'
          template_file: 'interface_p.h.tpl'
        - dest_file: '{{interface|lower}}.cpp'
          template_file: 'interface.cpp.tpl'
    struct_rules:
        - dest_file: '{{struct|lower}}.h'
          template_file: 'struct.h.tpl'
        - dest_file: '{{struct|lower}}.cpp'
          template_file: 'struct.cpp.tpl'