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-qtro/server_qtro_test/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-qtro/server_qtro_test/CMakeLists.txt')
-rw-r--r-- | tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt index 4983874..e248ff3 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt @@ -1,25 +1,12 @@ # Generated from server_qtro_test.pro. - -cmake_minimum_required(VERSION 3.14) -project(tst_org-example-echo-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}") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Test) -find_package(Qt6 COMPONENTS IviCore) - qt_add_executable(tst_org-example-echo-qtro + SOURCES contactsmodelservice.cpp contactsmodelservice.h echoservice.cpp echoservice.h echozonedservice.cpp echozonedservice.h @@ -33,26 +20,11 @@ qt6_ivigenerator(tst_org-example-echo-qtro QFACE_SOURCES ../../../org.example.echo.qface QFACE_FORMAT server_qtro ) -set_target_properties(tst_org-example-echo-qtro PROPERTIES - WIN32_EXECUTABLE FALSE - MACOSX_BUNDLE FALSE -) -target_include_directories(tst_org-example-echo-qtro PUBLIC - ${CMAKE_CURRENT_BINARY_DIR}/../backend_qtro - ${CMAKE_CURRENT_BINARY_DIR}/../frontend -) target_link_libraries(tst_org-example-echo-qtro PUBLIC - # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. echo_qtro_frontend Qt::Core Qt::IviCore Qt::Test - iviremoteobjects_helper_private -) - -install(TARGETS tst_org-example-echo-qtro - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" + Qt::IviRemoteObjectsHelper ) |