diff options
Diffstat (limited to 'tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin')
2 files changed, 60 insertions, 18 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/.prev_CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000..446db66 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/.prev_CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qmlplugin.pro. + +cmake_minimum_required(VERSION 3.14) +project(qmlplugin 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 IviCore) +find_package(Qt6 COMPONENTS IviVehicleFunctions) + + +# IVI Generator: +qt6_ivigenerator(qmlplugin + QFACE_SOURCES ../../../org.example.echo.qface + QFACE_FORMAT qmlplugin + QFACE_ANNOTATIONS ../../../no-private.yaml +) +set_target_properties(qmlplugin PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) +target_include_directories(qmlplugin PUBLIC + ${CMAKE_CURRENT_BINARY_DIR}/../frontend +) + +target_link_libraries(qmlplugin PUBLIC + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore + Qt::IviVehicleFunctions +) + +install(TARGETS qmlplugin + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) 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 index 4e6a6a7..ada5903 100644 --- 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 @@ -1,23 +1,19 @@ # Generated from qmlplugin.pro. +set(CMAKE_INCLUDE_CURRENT_DIR ON) -##################################################################### -## qmlplugin Generic Library: -##################################################################### +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) -qt_add_cmake_library(qmlplugin - MODULE - INCLUDE_DIRECTORIES - ${CMAKE_CURRENT_BINARY_DIR}/../frontend - PUBLIC_LIBRARIES - # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. - Qt::IviCore - ivivehiclefunctions +# IVI Generator: +qt6_ivigenerator(echo_frontend_noprivate_qmlplugin # special case + QFACE_SOURCES ../../../org.example.echo.qface + QFACE_FORMAT qmlplugin + QFACE_ANNOTATIONS ../../../no-private.yaml ) -#### Keys ignored in scope 1:.:.:qmlplugin.pro:<TRUE>: -# QFACE_ANNOTATIONS = "../../../no-private.yaml" -# QFACE_FORMAT = "qmlplugin" -# QFACE_SOURCES = "../../../org.example.echo.qface" -# TEMPLATE = "lib" - -qt_autogen_tools_initial_setup(qmlplugin) +target_link_libraries(echo_frontend_noprivate_qmlplugin PRIVATE # special case + echo_noprivate_frontend + Qt::IviCore + Qt::IviVehicleFunctions +) |