aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/ivigenerator/templates/backend_simulator
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ivigenerator/templates/backend_simulator')
-rw-r--r--src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl13
-rw-r--r--src/tools/ivigenerator/templates/backend_simulator/plugin.pri.tpl4
2 files changed, 13 insertions, 4 deletions
diff --git a/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl b/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl
new file mode 100644
index 0000000..843a3f4
--- /dev/null
+++ b/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl
@@ -0,0 +1,13 @@
+target_sources(${CURRENT_TARGET}
+ PRIVATE
+{% for interface in module.interfaces %}
+ {{interface|lower}}backend.cpp
+{% endfor %}
+ {{module.module_name|lower}}simulatorplugin.cpp
+ {{module.module_name|lower}}_simulation.qrc
+)
+
+### MISSING
+# OTHER_FILES += \
+# $$PWD/{{module.module_name|lower}}.json \
+# $$PWD/{{module.module_name|lower}}_simulation_data.json
diff --git a/src/tools/ivigenerator/templates/backend_simulator/plugin.pri.tpl b/src/tools/ivigenerator/templates/backend_simulator/plugin.pri.tpl
index 84dbe37..62a76b2 100644
--- a/src/tools/ivigenerator/templates/backend_simulator/plugin.pri.tpl
+++ b/src/tools/ivigenerator/templates/backend_simulator/plugin.pri.tpl
@@ -42,10 +42,6 @@
## Do not edit! All changes made to it will be lost.
#############################################################################
-{% if 'simulator' in features %}
-QT += simulator
-{% endif %}
-
HEADERS += \
{% for interface in module.interfaces %}
$$PWD/{{interface|lower}}backend.h \