summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-22 16:44:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-24 06:18:36 +0900
commit75032429144e8806d72ad94e506f9f7aab69e969 (patch)
treed3b7270768417aaacc9e848f0d3815972a4d486b /CMakeLists.txt
parenta17cb6b681ad9ed86896109f73b72af98c26c8be (diff)
downloadsubsurface-75032429144e8806d72ad94e506f9f7aab69e969.tar.gz
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 <jan@casacondor.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt18
1 files changed, 2 insertions, 16 deletions
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