diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-05-11 14:22:17 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2021-05-20 15:23:38 +0200 |
commit | 2d2d4e0cdaec8dbb6e8612f4d408d247ea57f993 (patch) | |
tree | 580be7366e716b5eb5e22ccc6059791f1cde1685 /src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl | |
parent | 3378986c6345587fbc55c9fb6e145bfa511095d3 (diff) |
Enable the QtRemoteObjects support
Similar to the previous commits, the examples and tests build ok, but
are not yet ready to be used and still need to be refactored.
Change-Id: Icb4482696e81a5a17b89622182053c5cfcb5fc7b
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl')
-rw-r--r-- | src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl b/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl index 843a3f4..93cad4a 100644 --- a/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl +++ b/src/tools/ivigenerator/templates/backend_simulator/CMakeLists.txt.tpl @@ -1,5 +1,4 @@ -target_sources(${CURRENT_TARGET} - PRIVATE +set(${CURRENT_TARGET}_SOURCES {% for interface in module.interfaces %} {{interface|lower}}backend.cpp {% endfor %} @@ -7,6 +6,15 @@ target_sources(${CURRENT_TARGET} {{module.module_name|lower}}_simulation.qrc ) +qt_add_resources(${CURRENT_TARGET}_SOURCES + ${CMAKE_CURRENT_BINARY_DIR}/{{module.module_name|lower}}_simulation.qrc +) + +target_sources(${CURRENT_TARGET} + PRIVATE + ${${CURRENT_TARGET}_SOURCES} +) + ### MISSING # OTHER_FILES += \ # $$PWD/{{module.module_name|lower}}.json \ |