diff options
Diffstat (limited to 'generator/qtcpp/templates/project.pri')
-rw-r--r-- | generator/qtcpp/templates/project.pri | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/generator/qtcpp/templates/project.pri b/generator/qtcpp/templates/project.pri new file mode 100644 index 0000000..052a0f1 --- /dev/null +++ b/generator/qtcpp/templates/project.pri @@ -0,0 +1,32 @@ +{# Copyright (c) Pelagicore AB 2016 #} +{% set module_name = 'Qml{0}Module'.format(module.module_name()) %} +############################################################################# +## This is an auto-generated file. +## Do not edit! All changes made to it will be lost. +############################################################################# + +QT += qml quick +CONFIG += c++11 + + +HEADERS += \ + {{module_name|lower}}.h \ +{% for interface in module.interfaces %} + {{interface|lower}}.h \ +{% endfor %} +{% for struct in module.structs %} + {{struct|lower}}.h \ + {{struct|lower}}model.h \ +{% endfor %} + plugin.h + +SOURCES += \ + {{module_name|lower}}.cpp \ +{% for interface in module.interfaces %} + {{interface|lower}}.cpp \ +{% endfor %} +{% for struct in module.structs %} + {{struct|lower}}.cpp \ + {{struct|lower}}model.cpp \ +{% endfor %} + plugin.cpp |