From 9b51d5f5713c237c244c1bff4d0bd3d0437e1b95 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Tue, 28 Apr 2020 10:44:54 +0200 Subject: CMake: Regenerate examples/widgets/ projects Also add the missing examples/widgets/gallery project. Change-Id: Iec3d61881065cf93d90f9fd3da928ffcd4f0c0aa Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor --- examples/widgets/gallery/CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 examples/widgets/gallery/CMakeLists.txt (limited to 'examples/widgets/gallery') diff --git a/examples/widgets/gallery/CMakeLists.txt b/examples/widgets/gallery/CMakeLists.txt new file mode 100644 index 0000000000..67e2a6bede --- /dev/null +++ b/examples/widgets/gallery/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from gallery.pro. + +cmake_minimum_required(VERSION 3.14) +project(gallery LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/widgets/gallery") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(gallery + main.cpp + widgetgallery.cpp widgetgallery.h +) +target_link_libraries(gallery PUBLIC + Qt::Core + Qt::Gui + Qt::Widgets +) + +install(TARGETS gallery + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) -- cgit v1.2.3