From 0ab8bd5ecaf0cbd92387283e3c21aa47f72ce977 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 14 Dec 2019 22:15:12 +0100 Subject: 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 --- backend-shared/CMakeLists.txt | 2 ++ backend-shared/README | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 backend-shared/CMakeLists.txt create mode 100644 backend-shared/README (limited to 'backend-shared') diff --git a/backend-shared/CMakeLists.txt b/backend-shared/CMakeLists.txt new file mode 100644 index 000000000..750d22a98 --- /dev/null +++ b/backend-shared/CMakeLists.txt @@ -0,0 +1,2 @@ +# backend functionality shared between Desktop (UI) and Mobile (QML) + diff --git a/backend-shared/README b/backend-shared/README new file mode 100644 index 000000000..f82fc2fed --- /dev/null +++ b/backend-shared/README @@ -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". -- cgit v1.2.3-70-g09d2