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 /tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt | |
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 'tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt')
-rw-r--r-- | tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt index b7481c9..4fe728c 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt @@ -1,45 +1,21 @@ # Generated from backend_qtro.pro. - -cmake_minimum_required(VERSION 3.14) -project(echo_noannotation_qtro LANGUAGES CXX) - set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}") - -qt_add_plugin(echo_noannotation_qtro) +qt_add_plugin(echo_noanno_qtro) # IVI Generator: -qt6_ivigenerator(echo_noannotation_qtro +qt6_ivigenerator(echo_noanno_qtro QFACE_SOURCES ../../../org.example.echo.noannotation.qface QFACE_FORMAT backend_qtro ) -set_target_properties(echo_noannotation_qtro PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_include_directories(echo_noannotation_qtro PUBLIC - ${CMAKE_CURRENT_BINARY_DIR}/../frontend -) -target_link_libraries(echo_noannotation_qtro PUBLIC - # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. - echo_noannotation_frontend +target_link_libraries(echo_noanno_qtro PUBLIC + echo_noanno_frontend Qt::Core Qt::Gui Qt::IviCore ) - -install(TARGETS echo_noannotation_qtro - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) |