From 75032429144e8806d72ad94e506f9f7aab69e969 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 22 Dec 2019 16:44:35 +0100 Subject: build-system: Add CMakeLists.txt to mobile-widgets In order to make the central CMakeLists cleaner and more consistent add a CMakeLists.txt to mobile-widgets, like in other root directories. Signed-off-by: Jan Iversen --- CMakeLists.txt | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b2211c477..f46393243 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -279,6 +279,7 @@ add_subdirectory(qt-models) add_subdirectory(commands) add_subdirectory(profile-widget) add_subdirectory(map-widget) +add_subdirectory(mobile-widgets) if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable") add_subdirectory(desktop-widgets) @@ -287,22 +288,6 @@ endif() # create the executables if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable") set(MOBILE_SRC - mobile-widgets/qmlmanager.cpp - mobile-widgets/qmlprefs.cpp - mobile-widgets/qml/kirigami/src/columnview.cpp - mobile-widgets/qml/kirigami/src/delegaterecycler.cpp - mobile-widgets/qml/kirigami/src/enums.cpp - mobile-widgets/qml/kirigami/src/formlayoutattached.cpp - mobile-widgets/qml/kirigami/src/icon.cpp - mobile-widgets/qml/kirigami/src/kirigamiplugin.cpp - mobile-widgets/qml/kirigami/src/mnemonicattached.cpp - mobile-widgets/qml/kirigami/src/scenepositionattached.cpp - mobile-widgets/qml/kirigami/src/settings.cpp - mobile-widgets/qml/kirigami/src/wheelhandler.cpp - mobile-widgets/qml/kirigami/src/libkirigami/basictheme.cpp - mobile-widgets/qml/kirigami/src/libkirigami/kirigamipluginfactory.cpp - mobile-widgets/qml/kirigami/src/libkirigami/platformtheme.cpp - mobile-widgets/qml/kirigami/src/libkirigami/tabletmodewatcher.cpp subsurface-mobile-main.cpp subsurface-helper.cpp ) @@ -323,6 +308,7 @@ if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable") endif() target_link_libraries( ${SUBSURFACE_TARGET} + subsurface_mobile subsurface_profile subsurface_mapwidget subsurface_models_mobile -- cgit v1.2.3-70-g09d2