From 3fdd3573f716b044824e11dcd1cabb8442ffeea8 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Tue, 17 Nov 2020 12:27:36 +0100 Subject: cmake: Start of cmake port using run_pro2cmake.py and friends Some special cases are already addressed. Task-number: AUTOSUITE-1633 Change-Id: I5409522c1c5eb76b8aac3e7e332d1e1cc27e594f Reviewed-by: Robert Griebl --- tests/CMakeLists.txt | 7 +++++ tests/auto/CMakeLists.txt | 11 +++++++ tests/auto/core/CMakeLists.txt | 13 +++++++++ tests/auto/core/ivigenerator/CMakeLists.txt | 4 +++ .../ivigenerator/custom-template/CMakeLists.txt | 14 +++++++++ .../auto/core/ivigenerator/projects/CMakeLists.txt | 9 ++++++ .../projects/include-test/CMakeLists.txt | 11 +++++++ .../include-test/backend_qtro/CMakeLists.txt | 27 +++++++++++++++++ .../include-test/backend_simulator/CMakeLists.txt | 27 +++++++++++++++++ .../projects/include-test/common/CMakeLists.txt | 28 ++++++++++++++++++ .../projects/include-test/frontend/CMakeLists.txt | 32 ++++++++++++++++++++ .../projects/include-test/qmlplugin/CMakeLists.txt | 23 +++++++++++++++ .../simulation_server_qtro/CMakeLists.txt | 24 +++++++++++++++ .../projects/include-test/test/CMakeLists.txt | 23 +++++++++++++++ .../org-example-echo-noannotation/CMakeLists.txt | 10 +++++++ .../backend_qtro/CMakeLists.txt | 25 ++++++++++++++++ .../backend_simulator/CMakeLists.txt | 25 ++++++++++++++++ .../frontend/CMakeLists.txt | 28 ++++++++++++++++++ .../qmlplugin/CMakeLists.txt | 22 ++++++++++++++ .../simulation_server_qtro/CMakeLists.txt | 23 +++++++++++++++ .../test/CMakeLists.txt | 21 +++++++++++++ .../org-example-echo-noprivate/CMakeLists.txt | 6 ++++ .../backend_simulator/CMakeLists.txt | 26 +++++++++++++++++ .../frontend/CMakeLists.txt | 29 ++++++++++++++++++ .../qmlplugin/CMakeLists.txt | 23 +++++++++++++++ .../org-example-echo-noprivate/test/CMakeLists.txt | 22 ++++++++++++++ .../projects/org-example-echo-qtro/CMakeLists.txt | 6 ++++ .../backend_qtro/CMakeLists.txt | 31 ++++++++++++++++++++ .../org-example-echo-qtro/frontend/CMakeLists.txt | 28 ++++++++++++++++++ .../server_qtro_test/CMakeLists.txt | 29 ++++++++++++++++++ .../simulation_server_qtro/CMakeLists.txt | 23 +++++++++++++++ .../projects/org-example-echo/CMakeLists.txt | 6 ++++ .../backend_simulator/CMakeLists.txt | 27 +++++++++++++++++ .../org-example-echo/frontend/CMakeLists.txt | 28 ++++++++++++++++++ .../org-example-echo/qmlplugin/CMakeLists.txt | 22 ++++++++++++++ .../projects/org-example-echo/test/CMakeLists.txt | 21 +++++++++++++ tests/auto/core/qiviabstractfeature/CMakeLists.txt | 29 ++++++++++++++++++ tests/auto/core/qivipagingmodel/CMakeLists.txt | 23 +++++++++++++++ tests/auto/core/qivipendingreply/CMakeLists.txt | 28 ++++++++++++++++++ .../core/qivisearchandbrowsemodel/CMakeLists.txt | 21 +++++++++++++ .../auto/core/qivisimulationengine/CMakeLists.txt | 34 ++++++++++++++++++++++ .../core/qivisimulationglobalobject/CMakeLists.txt | 19 ++++++++++++ tests/auto/core/queryparser/CMakeLists.txt | 28 ++++++++++++++++++ tests/auto/core/servicemanagertest/CMakeLists.txt | 33 +++++++++++++++++++++ .../simple_plugin/CMakeLists.txt | 25 ++++++++++++++++ .../simple_plugin_static/CMakeLists.txt | 27 +++++++++++++++++ .../servicemanagertest/wrong_plugin/CMakeLists.txt | 25 ++++++++++++++++ .../wrongmetadata_plugin/CMakeLists.txt | 24 +++++++++++++++ .../wrongmetadata_plugin_static/CMakeLists.txt | 26 +++++++++++++++++ tests/auto/dlt/CMakeLists.txt | 20 +++++++++++++ tests/auto/vehiclefunctions/CMakeLists.txt | 3 ++ tests/auto/vehiclefunctions/basic/CMakeLists.txt | 17 +++++++++++ 52 files changed, 1116 insertions(+) create mode 100644 tests/CMakeLists.txt create mode 100644 tests/auto/CMakeLists.txt create mode 100644 tests/auto/core/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/custom-template/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/backend_qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/backend_simulator/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/common/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/frontend/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/qmlplugin/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/simulation_server_qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/include-test/test/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/frontend/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/qmlplugin/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/simulation_server_qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/test/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/frontend/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-qtro/frontend/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo-qtro/simulation_server_qtro/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo/frontend/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo/qmlplugin/CMakeLists.txt create mode 100644 tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt create mode 100644 tests/auto/core/qiviabstractfeature/CMakeLists.txt create mode 100644 tests/auto/core/qivipagingmodel/CMakeLists.txt create mode 100644 tests/auto/core/qivipendingreply/CMakeLists.txt create mode 100644 tests/auto/core/qivisearchandbrowsemodel/CMakeLists.txt create mode 100644 tests/auto/core/qivisimulationengine/CMakeLists.txt create mode 100644 tests/auto/core/qivisimulationglobalobject/CMakeLists.txt create mode 100644 tests/auto/core/queryparser/CMakeLists.txt create mode 100644 tests/auto/core/servicemanagertest/CMakeLists.txt create mode 100644 tests/auto/core/servicemanagertest/simple_plugin/CMakeLists.txt create mode 100644 tests/auto/core/servicemanagertest/simple_plugin_static/CMakeLists.txt create mode 100644 tests/auto/core/servicemanagertest/wrong_plugin/CMakeLists.txt create mode 100644 tests/auto/core/servicemanagertest/wrongmetadata_plugin/CMakeLists.txt create mode 100644 tests/auto/core/servicemanagertest/wrongmetadata_plugin_static/CMakeLists.txt create mode 100644 tests/auto/dlt/CMakeLists.txt create mode 100644 tests/auto/vehiclefunctions/CMakeLists.txt create mode 100644 tests/auto/vehiclefunctions/basic/CMakeLists.txt (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..2214137 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from tests.pro. + +if(QT_BUILD_STANDALONE_TESTS) + # Add qt_find_package calls for extra dependencies that need to be found when building + # the standalone tests here. +endif() +qt_build_tests() diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt new file mode 100644 index 0000000..54f11ee --- /dev/null +++ b/tests/auto/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from auto.pro. + +if(TARGET Qt::IviCore) + add_subdirectory(core) +endif() +if(TARGET ivivehiclefunctions) + add_subdirectory(vehiclefunctions) +endif() +if(TARGET geniviextras) + add_subdirectory(dlt) +endif() diff --git a/tests/auto/core/CMakeLists.txt b/tests/auto/core/CMakeLists.txt new file mode 100644 index 0000000..3814570 --- /dev/null +++ b/tests/auto/core/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from core.pro. + +add_subdirectory(servicemanagertest) +add_subdirectory(qiviabstractfeature) +add_subdirectory(qivipendingreply) +add_subdirectory(queryparser) +add_subdirectory(qivipagingmodel) +add_subdirectory(qivisearchandbrowsemodel) +add_subdirectory(qivisimulationengine) +add_subdirectory(qivisimulationglobalobject) +if(QT_FEATURE_ivigenerator) + add_subdirectory(ivigenerator) +endif() diff --git a/tests/auto/core/ivigenerator/CMakeLists.txt b/tests/auto/core/ivigenerator/CMakeLists.txt new file mode 100644 index 0000000..126354f --- /dev/null +++ b/tests/auto/core/ivigenerator/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from ivigenerator.pro. + +add_subdirectory(projects) +add_subdirectory(custom-template) diff --git a/tests/auto/core/ivigenerator/custom-template/CMakeLists.txt b/tests/auto/core/ivigenerator/custom-template/CMakeLists.txt new file mode 100644 index 0000000..cc20e04 --- /dev/null +++ b/tests/auto/core/ivigenerator/custom-template/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from custom-template.pro. + +##################################################################### +## tst_custom-template Test: +##################################################################### + +qt_add_test(tst_custom-template + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:custom-template.pro:: +# QFACE_FORMAT = "$$PWD/custom-test" +# QFACE_SOURCES = "../org.example.echo.qface" diff --git a/tests/auto/core/ivigenerator/projects/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/CMakeLists.txt new file mode 100644 index 0000000..177f7ae --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/CMakeLists.txt @@ -0,0 +1,9 @@ +# Generated from projects.pro. + +add_subdirectory(org-example-echo) +add_subdirectory(org-example-echo-noprivate) +add_subdirectory(org-example-echo-noannotation) +add_subdirectory(include-test) +if(QT_FEATURE_remoteobjects) + add_subdirectory(org-example-echo-qtro) +endif() diff --git a/tests/auto/core/ivigenerator/projects/include-test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/CMakeLists.txt new file mode 100644 index 0000000..e59c60e --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from include-test.pro. + +add_subdirectory(common) +add_subdirectory(frontend) +add_subdirectory(qmlplugin) +add_subdirectory(backend_simulator) +add_subdirectory(test) +if(QT_FEATURE_remoteobjects) + add_subdirectory(backend_qtro) + add_subdirectory(simulation_server_qtro) +endif() diff --git a/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/CMakeLists.txt new file mode 100644 index 0000000..40e733d --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from backend_qtro.pro. + +##################################################################### +## include_test_qtro Generic Library: +##################################################################### + +qt_add_cmake_library(include_test_qtro + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../common + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(include_test_qtro) + +#### Keys ignored in scope 1:.:.:backend_qtro.pro:: +# QFACE_FORMAT = "backend_qtro" +# QFACE_IMPORT_PATH = "../../../qface imports" +# QFACE_SOURCES = "../../../include-test.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(include_test_qtro) diff --git a/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/CMakeLists.txt new file mode 100644 index 0000000..000ab62 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from backend_simulator.pro. + +##################################################################### +## include_test_simulator Generic Library: +##################################################################### + +qt_add_cmake_library(include_test_simulator + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../common + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(include_test_simulator) + +#### Keys ignored in scope 1:.:.:backend_simulator.pro:: +# QFACE_FORMAT = "backend_simulator" +# QFACE_IMPORT_PATH = "../../../qface imports" +# QFACE_SOURCES = "../../../include-test.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(include_test_simulator) diff --git a/tests/auto/core/ivigenerator/projects/include-test/common/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/common/CMakeLists.txt new file mode 100644 index 0000000..b7f1b53 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/common/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from common.pro. + +##################################################################### +## include_test_common Generic Library: +##################################################################### + +qt_add_cmake_library(include_test_common + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + DEFINES + QT_BUILD_COMMON_LIB + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:common.pro:: +# QFACE_SOURCES = "../../../qface imports/common.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:common.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" diff --git a/tests/auto/core/ivigenerator/projects/include-test/frontend/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/frontend/CMakeLists.txt new file mode 100644 index 0000000..81f7469 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/frontend/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from frontend.pro. + +##################################################################### +## include_test_frontend Generic Library: +##################################################################### + +qt_add_cmake_library(include_test_frontend + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + DEFINES + QT_BUILD_INCLUDE_TEST_LIB + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../common + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:frontend.pro:: +# QFACE_IMPORT_PATH = "../../../qface imports" +# QFACE_SOURCES = "../../../include-test.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:frontend.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" diff --git a/tests/auto/core/ivigenerator/projects/include-test/qmlplugin/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/qmlplugin/CMakeLists.txt new file mode 100644 index 0000000..489f8fd --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/qmlplugin/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qmlplugin.pro. + +##################################################################### +## qmlplugin Generic Library: +##################################################################### + +qt_add_cmake_library(qmlplugin + MODULE + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../common + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:qmlplugin.pro:: +# QFACE_FORMAT = "qmlplugin" +# QFACE_IMPORT_PATH = "../../../qface imports" +# QFACE_SOURCES = "../../../include-test.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(qmlplugin) diff --git a/tests/auto/core/ivigenerator/projects/include-test/simulation_server_qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/simulation_server_qtro/CMakeLists.txt new file mode 100644 index 0000000..5af54a0 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/simulation_server_qtro/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from simulation_server_qtro.pro. + +##################################################################### +## org-example-echo-qtro-simulation-server Binary: +##################################################################### + +qt_add_executable(org-example-echo-qtro-simulation-server + OUTPUT_DIRECTORY ".." + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../common + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:simulation_server_qtro.pro:: +# QFACE_FORMAT = "server_qtro_simulator" +# QFACE_IMPORT_PATH = "../../../qface imports" +# QFACE_SOURCES = "../../../include-test.qface" +# TEMPLATE = "app" diff --git a/tests/auto/core/ivigenerator/projects/include-test/test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/include-test/test/CMakeLists.txt new file mode 100644 index 0000000..f70b4c9 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/include-test/test/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from test.pro. + +##################################################################### +## tst_include Test: +##################################################################### + +qt_add_test(tst_include + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../common + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:test.pro:: +# QFACE_FORMAT = "test" +# QFACE_IMPORT_PATH = "../../../qface imports" +# QFACE_SOURCES = "../../../include-test.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# QMAKE_RPATHDIR = "$$OUT_PWD/.." diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/CMakeLists.txt new file mode 100644 index 0000000..7ec5217 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/CMakeLists.txt @@ -0,0 +1,10 @@ +# Generated from org-example-echo-noannotation.pro. + +add_subdirectory(frontend) +add_subdirectory(qmlplugin) +add_subdirectory(backend_simulator) +add_subdirectory(test) +if(QT_FEATURE_remoteobjects) + add_subdirectory(backend_qtro) + add_subdirectory(simulation_server_qtro) +endif() 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 new file mode 100644 index 0000000..66a2c37 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from backend_qtro.pro. + +##################################################################### +## echo_noannotation_qtro Generic Library: +##################################################################### + +qt_add_cmake_library(echo_noannotation_qtro + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(echo_noannotation_qtro) + +#### Keys ignored in scope 1:.:.:backend_qtro.pro:: +# QFACE_FORMAT = "backend_qtro" +# QFACE_SOURCES = "../../../org.example.echo.noannotation.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(echo_noannotation_qtro) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/CMakeLists.txt new file mode 100644 index 0000000..81c7410 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from backend_simulator.pro. + +##################################################################### +## echo_noannotation_simulator Generic Library: +##################################################################### + +qt_add_cmake_library(echo_noannotation_simulator + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(echo_noannotation_simulator) + +#### Keys ignored in scope 1:.:.:backend_simulator.pro:: +# QFACE_FORMAT = "backend_simulator" +# QFACE_SOURCES = "../../../org.example.echo.noannotation.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(echo_noannotation_simulator) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/frontend/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/frontend/CMakeLists.txt new file mode 100644 index 0000000..0175304 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/frontend/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from frontend.pro. + +##################################################################### +## echo_noannotation_frontend Generic Library: +##################################################################### + +qt_add_cmake_library(echo_noannotation_frontend + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + DEFINES + QT_BUILD_ORG_EXAMPLE_ECHO_LIB + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:frontend.pro:: +# QFACE_SOURCES = "../../../org.example.echo.noannotation.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:frontend.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/qmlplugin/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/qmlplugin/CMakeLists.txt new file mode 100644 index 0000000..fd709bb --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/qmlplugin/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qmlplugin.pro. + +##################################################################### +## qmlplugin Generic Library: +##################################################################### + +qt_add_cmake_library(qmlplugin + MODULE + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore + ivivehiclefunctions +) + +#### Keys ignored in scope 1:.:.:qmlplugin.pro:: +# QFACE_FORMAT = "qmlplugin" +# QFACE_SOURCES = "../../../org.example.echo.noannotation.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(qmlplugin) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/simulation_server_qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/simulation_server_qtro/CMakeLists.txt new file mode 100644 index 0000000..774234c --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/simulation_server_qtro/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from simulation_server_qtro.pro. + +##################################################################### +## org-example-echo-noannotation-simulation-server Binary: +##################################################################### + +qt_add_executable(org-example-echo-noannotation-simulation-server + OUTPUT_DIRECTORY ".." + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:simulation_server_qtro.pro:: +# QFACE_FORMAT = "server_qtro_simulator" +# QFACE_SOURCES = "../../../org.example.echo.noannotation.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/test/CMakeLists.txt new file mode 100644 index 0000000..558abf5 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/test/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from test.pro. + +##################################################################### +## tst_org-example-echo-noannotation Test: +##################################################################### + +qt_add_test(tst_org-example-echo-noannotation + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:test.pro:: +# QFACE_FORMAT = "test" +# QFACE_SOURCES = "../../../org.example.echo.noannotation.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# QMAKE_RPATHDIR = "$$OUT_PWD/.." diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/CMakeLists.txt new file mode 100644 index 0000000..9491609 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from org-example-echo-noprivate.pro. + +add_subdirectory(frontend) +add_subdirectory(qmlplugin) +add_subdirectory(backend_simulator) +add_subdirectory(test) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/CMakeLists.txt new file mode 100644 index 0000000..bd39d36 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from backend_simulator.pro. + +##################################################################### +## echo_noprivate_simulator Generic Library: +##################################################################### + +qt_add_cmake_library(echo_noprivate_simulator + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(echo_noprivate_simulator) + +#### Keys ignored in scope 1:.:.:backend_simulator.pro:: +# QFACE_ANNOTATIONS = "../../../no-private.yaml" +# QFACE_FORMAT = "backend_simulator" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(echo_noprivate_simulator) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/frontend/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/frontend/CMakeLists.txt new file mode 100644 index 0000000..d02ae04 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/frontend/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from frontend.pro. + +##################################################################### +## echo_noprivate_frontend Generic Library: +##################################################################### + +qt_add_cmake_library(echo_noprivate_frontend + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + DEFINES + QT_BUILD_ORG_EXAMPLE_ECHO_LIB + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:frontend.pro:: +# QFACE_ANNOTATIONS = "../../../no-private.yaml" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:frontend.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/CMakeLists.txt new file mode 100644 index 0000000..4e6a6a7 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qmlplugin.pro. + +##################################################################### +## qmlplugin Generic Library: +##################################################################### + +qt_add_cmake_library(qmlplugin + MODULE + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore + ivivehiclefunctions +) + +#### Keys ignored in scope 1:.:.:qmlplugin.pro:: +# QFACE_ANNOTATIONS = "../../../no-private.yaml" +# QFACE_FORMAT = "qmlplugin" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(qmlplugin) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/CMakeLists.txt new file mode 100644 index 0000000..8626ddd --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from test.pro. + +##################################################################### +## tst_org-example-echo-noprivate Test: +##################################################################### + +qt_add_test(tst_org-example-echo-noprivate + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:test.pro:: +# QFACE_ANNOTATIONS = "../../../no-private.yaml" +# QFACE_FORMAT = "test" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# QMAKE_RPATHDIR = "$$OUT_PWD/.." diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/CMakeLists.txt new file mode 100644 index 0000000..acb1636 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from org-example-echo-qtro.pro. + +add_subdirectory(frontend) +add_subdirectory(backend_qtro) +add_subdirectory(simulation_server_qtro) +add_subdirectory(server_qtro_test) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/CMakeLists.txt new file mode 100644 index 0000000..592ef19 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from backend_qtro.pro. + +##################################################################### +## echo_backend_qtro Generic Library: +##################################################################### + +qt_add_cmake_library(echo_backend_qtro + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(echo_backend_qtro) + +#### Keys ignored in scope 1:.:.:backend_qtro.pro:: +# QFACE_FORMAT = "backend_qtro" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:backend_qtro.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" + +qt_autogen_tools_initial_setup(echo_backend_qtro) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/frontend/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/frontend/CMakeLists.txt new file mode 100644 index 0000000..c1ec8bb --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/frontend/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from frontend.pro. + +##################################################################### +## echo_frontend Generic Library: +##################################################################### + +qt_add_cmake_library(echo_frontend + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + DEFINES + QT_BUILD_ORG_EXAMPLE_ECHO_LIB + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:frontend.pro:: +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:frontend.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" 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 new file mode 100644 index 0000000..985b371 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from server_qtro_test.pro. + +##################################################################### +## tst_org-example-echo-qtro Test: +##################################################################### + +qt_add_test(tst_org-example-echo-qtro + OUTPUT_DIRECTORY ".." + SOURCES + contactsmodelservice.cpp contactsmodelservice.h + echoservice.cpp echoservice.h + echozonedservice.cpp echozonedservice.h + main.cpp + server.cpp server.h + tst_echoqtro.cpp tst_echoqtro.h + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../backend_qtro + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore + iviremoteobjects_helper_private +) + +#### Keys ignored in scope 1:.:.:server_qtro_test.pro:: +# QFACE_FORMAT = "server_qtro" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# QMAKE_RPATHDIR = "$$OUT_PWD/.." "$$OUT_PWD/../qtivi" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/simulation_server_qtro/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/simulation_server_qtro/CMakeLists.txt new file mode 100644 index 0000000..0bb45bb --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/simulation_server_qtro/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from simulation_server_qtro.pro. + +##################################################################### +## org-example-echo-qtro-simulation-server Binary: +##################################################################### + +qt_add_executable(org-example-echo-qtro-simulation-server + OUTPUT_DIRECTORY ".." + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:simulation_server_qtro.pro:: +# QFACE_FORMAT = "server_qtro_simulator" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo/CMakeLists.txt new file mode 100644 index 0000000..b9a7125 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from org-example-echo.pro. + +add_subdirectory(frontend) +add_subdirectory(qmlplugin) +add_subdirectory(backend_simulator) +add_subdirectory(test) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/CMakeLists.txt new file mode 100644 index 0000000..fbbc287 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from backend_simulator.pro. + +##################################################################### +## echo_simulator Generic Library: +##################################################################### + +qt_add_cmake_library(echo_simulator + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi" + SOURCES + backend_simulator.cpp + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Core + Qt::Gui + Qt::IviCore +) +qt_disable_warnings(echo_simulator) + +#### Keys ignored in scope 1:.:.:backend_simulator.pro:: +# QFACE_FORMAT = "backend_simulator" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(echo_simulator) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/frontend/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo/frontend/CMakeLists.txt new file mode 100644 index 0000000..c1ec8bb --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/frontend/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from frontend.pro. + +##################################################################### +## echo_frontend Generic Library: +##################################################################### + +qt_add_cmake_library(echo_frontend + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + DEFINES + QT_BUILD_ORG_EXAMPLE_ECHO_LIB + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:frontend.pro:: +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:frontend.pro:MACOS: +# QMAKE_SONAME_PREFIX = "@rpath" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/qmlplugin/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo/qmlplugin/CMakeLists.txt new file mode 100644 index 0000000..89be1a8 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/qmlplugin/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qmlplugin.pro. + +##################################################################### +## qmlplugin Generic Library: +##################################################################### + +qt_add_cmake_library(qmlplugin + MODULE + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore + ivivehiclefunctions +) + +#### Keys ignored in scope 1:.:.:qmlplugin.pro:: +# QFACE_FORMAT = "qmlplugin" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# TEMPLATE = "lib" + +qt_autogen_tools_initial_setup(qmlplugin) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt new file mode 100644 index 0000000..d27a2c8 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from test.pro. + +##################################################################### +## tst_org-example-echo Test: +##################################################################### + +qt_add_test(tst_org-example-echo + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_BINARY_DIR}/../frontend + PUBLIC_LIBRARIES + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:test.pro:: +# QFACE_FORMAT = "test" +# QFACE_SOURCES = "../../../org.example.echo.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" +# QMAKE_RPATHDIR = "$$OUT_PWD/.." diff --git a/tests/auto/core/qiviabstractfeature/CMakeLists.txt b/tests/auto/core/qiviabstractfeature/CMakeLists.txt new file mode 100644 index 0000000..5d47d83 --- /dev/null +++ b/tests/auto/core/qiviabstractfeature/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qiviabstractfeature.pro. + +##################################################################### +## tst_qiviabstractfeature Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + testdata/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qiviabstractfeature + SOURCES + qivifeaturetester.h + tst_qiviabstractfeature.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qiviabstractfeature.pro:: +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/qivipagingmodel/CMakeLists.txt b/tests/auto/core/qivipagingmodel/CMakeLists.txt new file mode 100644 index 0000000..f5eedd1 --- /dev/null +++ b/tests/auto/core/qivipagingmodel/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qivipagingmodel.pro. + +##################################################################### +## tst_qivipagingmodel Test: +##################################################################### + +qt_add_test(tst_qivipagingmodel + SOURCES + tst_qivipagingmodel.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qivipagingmodel.pro:: +# DISTFILES = "testdata/*" +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/qivipendingreply/CMakeLists.txt b/tests/auto/core/qivipendingreply/CMakeLists.txt new file mode 100644 index 0000000..880d5ca --- /dev/null +++ b/tests/auto/core/qivipendingreply/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qivipendingreply.pro. + +##################################################################### +## tst_qivipendingreply Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + testdata/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qivipendingreply + SOURCES + tst_qivipendingreply.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qivipendingreply.pro:: +# OTHER_FILES = "testdata/*" +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/qivisearchandbrowsemodel/CMakeLists.txt b/tests/auto/core/qivisearchandbrowsemodel/CMakeLists.txt new file mode 100644 index 0000000..247f2fd --- /dev/null +++ b/tests/auto/core/qivisearchandbrowsemodel/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qivisearchandbrowsemodel.pro. + +##################################################################### +## tst_qivisearchandbrowsemodel Test: +##################################################################### + +qt_add_test(tst_qivisearchandbrowsemodel + SOURCES + tst_qivisearchandbrowsemodel.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qivisearchandbrowsemodel.pro:: +# DISTFILES = "testdata/*" +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/qivisimulationengine/CMakeLists.txt b/tests/auto/core/qivisimulationengine/CMakeLists.txt new file mode 100644 index 0000000..2f6e20f --- /dev/null +++ b/tests/auto/core/qivisimulationengine/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qivisimulationengine.pro. + +##################################################################### +## tst_qivisimulationengine Test: +##################################################################### + +qt_add_test(tst_qivisimulationengine + SOURCES + tst_qivisimulationengine.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml +) + +# Resources: +set(resource_resource_files + "invalid-data.json" + "simple.json" + "simple.qml" +) + +qt_add_resource(tst_qivisimulationengine "resource" + PREFIX + "/" + FILES + ${resource_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qivisimulationengine.pro:: +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/qivisimulationglobalobject/CMakeLists.txt b/tests/auto/core/qivisimulationglobalobject/CMakeLists.txt new file mode 100644 index 0000000..b70b0c3 --- /dev/null +++ b/tests/auto/core/qivisimulationglobalobject/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qivisimulationglobalobject.pro. + +##################################################################### +## tst_qivisimulationglobalobject Test: +##################################################################### + +qt_add_test(tst_qivisimulationglobalobject + SOURCES + tst_qivisimulationglobalobject.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qivisimulationglobalobject.pro:: +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/queryparser/CMakeLists.txt b/tests/auto/core/queryparser/CMakeLists.txt new file mode 100644 index 0000000..a460632 --- /dev/null +++ b/tests/auto/core/queryparser/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from queryparser.pro. + +##################################################################### +## tst_queryparser Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + testdata/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_queryparser + SOURCES + tst_queryparser.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:queryparser.pro:: +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/core/servicemanagertest/CMakeLists.txt b/tests/auto/core/servicemanagertest/CMakeLists.txt new file mode 100644 index 0000000..b4dc93f --- /dev/null +++ b/tests/auto/core/servicemanagertest/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from servicemanagertest.pro. + +##################################################################### +## tst_servicemanagertest Test: +##################################################################### + +qt_add_test(tst_servicemanagertest + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" + SOURCES + tst_servicemanagertest.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + # Remove: Lqtivi + Qt::IviCore + Qt::IviCorePrivate +) + +#### Keys ignored in scope 2:.:.:tst_servicemanager.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_servicemanagertest CONDITION QT_FEATURE_debug_and_release + DEFINES + DEBUG_AND_RELEASE +) +add_subdirectory(simple_plugin) +add_subdirectory(simple_plugin_static) +add_subdirectory(wrong_plugin) +add_subdirectory(wrongmetadata_plugin) +add_subdirectory(wrongmetadata_plugin_static) diff --git a/tests/auto/core/servicemanagertest/simple_plugin/CMakeLists.txt b/tests/auto/core/servicemanagertest/simple_plugin/CMakeLists.txt new file mode 100644 index 0000000..8d334e9 --- /dev/null +++ b/tests/auto/core/servicemanagertest/simple_plugin/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from simple_plugin.pro. + +##################################################################### +## simple_plugin Generic Library: +##################################################################### + +qt_add_cmake_library(simple_plugin + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/" + SOURCES + simpleplugin.cpp simpleplugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:simple_plugin.pro:: +# DISTFILES = "simple_plugin.json" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +qt_autogen_tools_initial_setup(simple_plugin) diff --git a/tests/auto/core/servicemanagertest/simple_plugin_static/CMakeLists.txt b/tests/auto/core/servicemanagertest/simple_plugin_static/CMakeLists.txt new file mode 100644 index 0000000..67a14a2 --- /dev/null +++ b/tests/auto/core/servicemanagertest/simple_plugin_static/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from simple_plugin_static.pro. + +##################################################################### +## simple_plugin_static Generic Library: +##################################################################### + +qt_add_cmake_library(simple_plugin_static + STATIC + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/" + SOURCES + simplestaticplugin.cpp simplestaticplugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:simple_plugin_static.pro:: +# DISTFILES = "simple_plugin.json" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +qt_autogen_tools_initial_setup(simple_plugin_static) + +target_compile_definitions(simple_plugin_static PRIVATE QT_STATICPLUGIN) diff --git a/tests/auto/core/servicemanagertest/wrong_plugin/CMakeLists.txt b/tests/auto/core/servicemanagertest/wrong_plugin/CMakeLists.txt new file mode 100644 index 0000000..27e6016 --- /dev/null +++ b/tests/auto/core/servicemanagertest/wrong_plugin/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from wrong_plugin.pro. + +##################################################################### +## wrong_plugin Generic Library: +##################################################################### + +qt_add_cmake_library(wrong_plugin + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/" + SOURCES + wrongplugin.cpp wrongplugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:wrong_plugin.pro:: +# DISTFILES = "wrong_plugin.json" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +qt_autogen_tools_initial_setup(wrong_plugin) diff --git a/tests/auto/core/servicemanagertest/wrongmetadata_plugin/CMakeLists.txt b/tests/auto/core/servicemanagertest/wrongmetadata_plugin/CMakeLists.txt new file mode 100644 index 0000000..31af21d --- /dev/null +++ b/tests/auto/core/servicemanagertest/wrongmetadata_plugin/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from wrongmetadata_plugin.pro. + +##################################################################### +## wrongmetadata_plugin Generic Library: +##################################################################### + +qt_add_cmake_library(wrongmetadata_plugin + MODULE + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/" + SOURCES + wrongmetadataplugin.cpp wrongmetadataplugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:wrongmetadata_plugin.pro:: +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +qt_autogen_tools_initial_setup(wrongmetadata_plugin) diff --git a/tests/auto/core/servicemanagertest/wrongmetadata_plugin_static/CMakeLists.txt b/tests/auto/core/servicemanagertest/wrongmetadata_plugin_static/CMakeLists.txt new file mode 100644 index 0000000..9d4740b --- /dev/null +++ b/tests/auto/core/servicemanagertest/wrongmetadata_plugin_static/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from wrongmetadata_plugin_static.pro. + +##################################################################### +## wrongmetadata_plugin_static Generic Library: +##################################################################### + +qt_add_cmake_library(wrongmetadata_plugin_static + STATIC + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/" + SOURCES + wrongmetadatastaticplugin.cpp wrongmetadatastaticplugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::IviCore +) + +#### Keys ignored in scope 1:.:.:wrongmetadata_plugin_static.pro:: +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +qt_autogen_tools_initial_setup(wrongmetadata_plugin_static) + +target_compile_definitions(wrongmetadata_plugin_static PRIVATE QT_STATICPLUGIN) diff --git a/tests/auto/dlt/CMakeLists.txt b/tests/auto/dlt/CMakeLists.txt new file mode 100644 index 0000000..d33ae0b --- /dev/null +++ b/tests/auto/dlt/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from dlt.pro. + +##################################################################### +## tst_dlt Test: +##################################################################### + +qt_add_test(tst_dlt + SOURCES + tst_dlt.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + PUBLIC_LIBRARIES + Qt::Gui + dlt + geniviextras +) + +#### Keys ignored in scope 1:.:.:dlt.pro:: +# QMAKE_PROJECT_NAME = "$$TARGET" +# TEMPLATE = "app" diff --git a/tests/auto/vehiclefunctions/CMakeLists.txt b/tests/auto/vehiclefunctions/CMakeLists.txt new file mode 100644 index 0000000..b4c59f6 --- /dev/null +++ b/tests/auto/vehiclefunctions/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from vehiclefunctions.pro. + +add_subdirectory(basic) diff --git a/tests/auto/vehiclefunctions/basic/CMakeLists.txt b/tests/auto/vehiclefunctions/basic/CMakeLists.txt new file mode 100644 index 0000000..191590f --- /dev/null +++ b/tests/auto/vehiclefunctions/basic/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from basic.pro. + +##################################################################### +## tst_basic Test: +##################################################################### + +qt_add_test(tst_basic + PUBLIC_LIBRARIES + Qt::Gui + Qt::IviCore + ivivehiclefunctions +) + +#### Keys ignored in scope 1:.:.:basic.pro:: +# QFACE_FORMAT = "test" +# QFACE_SOURCES = "../../../../src/ivivehiclefunctions/ivivehiclefunctions.qface" +# QMAKE_PROJECT_NAME = "$$TARGET" -- cgit v1.2.1