aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/.prev_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/.prev_CMakeLists.txt')
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/.prev_CMakeLists.txt46
1 files changed, 46 insertions, 0 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}"
+)