mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: add new root dir backend-shared
WARNING: multi directory commit, needed to secure it builds. leaving the shared backend sources in core, imposes a severe limitation, that they cannot make use of e.g. qt-models, because that is created after core (first library to be created). The shared backend uses functionality from core and qt-models, so it must be created when those are available and before desktop-widgets or mobile-widgets are created. Make a new root directory "backend-shared" with empty CMakeLists.txt Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
a4d299e01e
commit
0ab8bd5eca
3 changed files with 14 additions and 0 deletions
|
@ -280,6 +280,7 @@ add_subdirectory(commands)
|
|||
add_subdirectory(profile-widget)
|
||||
add_subdirectory(map-widget)
|
||||
add_subdirectory(mobile-widgets)
|
||||
add_subdirectory(backend-shared)
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
||||
add_subdirectory(desktop-widgets)
|
||||
|
|
2
backend-shared/CMakeLists.txt
Normal file
2
backend-shared/CMakeLists.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
# backend functionality shared between Desktop (UI) and Mobile (QML)
|
||||
|
11
backend-shared/README
Normal file
11
backend-shared/README
Normal file
|
@ -0,0 +1,11 @@
|
|||
This directory contains shared UI backend code shared between
|
||||
the desktop version and the mobile version.
|
||||
|
||||
The backend code sits between the actual functionality, which
|
||||
are implemented in core and qt-models, and the UI/QML which
|
||||
are implemented in desktop-widgets and mobile-widgets.
|
||||
|
||||
The idea of backend is not to duplicate code, and at the same time
|
||||
limit the UI and QML to only deal with real GUI.
|
||||
|
||||
The first implementations for backend are "export" and "diveplanner".
|
Loading…
Add table
Reference in a new issue