blob: 274202e9f2da4038e8f35e64259b7d1baf52a16e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
if (NOT TARGET Qt6::RemoteObjects OR NOT TARGET Qt6::IviRemoteObjectsHelper)
find_package(Qt6 COMPONENTS RemoteObjects IviRemoteObjectsHelper)
endif()
target_sources(${CURRENT_TARGET}
PRIVATE
core.cpp
)
qt6_add_repc_sources(${CURRENT_TARGET}
{% for interface in module.interfaces %}
${CMAKE_CURRENT_BINARY_DIR}/{{interface|lower}}.rep
{% endfor %}
)
target_link_libraries(${CURRENT_TARGET} PRIVATE
Qt6::RemoteObjects
Qt6::IviRemoteObjectsHelper
)
|