diff options
Diffstat (limited to 'src/launcher-lib/CMakeLists.txt')
-rw-r--r-- | src/launcher-lib/CMakeLists.txt | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/launcher-lib/CMakeLists.txt b/src/launcher-lib/CMakeLists.txt new file mode 100644 index 00000000..12e77a68 --- /dev/null +++ b/src/launcher-lib/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from launcher-lib.pro. + +##################################################################### +## AppManLauncher Module: +##################################################################### + +# temporary hack to get around the "#pragma once not allowed in cpp" error +set(QT_FEATURE_headersclean FALSE) + +qt_internal_add_module(AppManLauncherPrivate + CONFIG_MODULE_NAME appman_launcher + STATIC + EXCEPTIONS + INTERNAL_MODULE + SOURCES + applicationmanagerwindow.cpp applicationmanagerwindow_p.h + dbusapplicationinterface.cpp dbusapplicationinterface.h + dbusapplicationinterfaceextension.cpp dbusapplicationinterfaceextension.h + dbusnotification.cpp dbusnotification.h + intentclientdbusimplementation.cpp intentclientdbusimplementation.h + ipcwrapperobject.cpp ipcwrapperobject.h ipcwrapperobject_p.h + launchermain.cpp launchermain.h + DBUS_INTERFACE_SOURCES + ../dbus-lib/io.qt.applicationmanager.intentinterface.xml + LIBRARIES + Qt::AppManApplicationPrivate + Qt::AppManCommonPrivate + Qt::AppManIntentClientPrivate + Qt::AppManNotificationPrivate + Qt::AppManSharedMainPrivate + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::DBus + Qt::Gui + Qt::GuiPrivate + Qt::Qml + Qt::Quick + Qt::QuickPrivate +) + +qt_internal_extend_target(AppManLauncherPrivate CONDITION QT_FEATURE_widgets_support AND TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +if(TARGET Qt::WaylandClient) + + qt6_generate_wayland_protocol_client_sources(AppManLauncherPrivate + FILES + ${CMAKE_CURRENT_SOURCE_DIR}/../wayland-extensions/qtam-extension.xml + ) +endif() + +qt_internal_extend_target(AppManLauncherPrivate CONDITION TARGET Qt::WaylandClient + SOURCES + waylandqtamclientextension.cpp waylandqtamclientextension_p.h + PUBLIC_LIBRARIES + Qt::WaylandClient + Qt::WaylandClientPrivate +) |