mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
ssrf: add shared helper file
add subsurface-helper.cpp to share functions between mobile and desktop move mobile qml registrations to a shared function (avoiding differences in registrations) Target is to replace current subsurface-desktop-main + subsurface-desktop-helper and subsurface-mobile-main + subsurface-mobile-helper with subsurface-*-main + subsurface-helper Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
a56a7c51f6
commit
8cc0b6dbc1
4 changed files with 61 additions and 38 deletions
|
|
@ -291,6 +291,7 @@ if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "MobileExecutable")
|
|||
mobile-widgets/qml/kirigami/src/libkirigami/tabletmodewatcher.cpp
|
||||
subsurface-mobile-main.cpp
|
||||
subsurface-mobile-helper.cpp
|
||||
subsurface-helper.cpp
|
||||
profile-widget/qmlprofile.cpp
|
||||
map-widget/qmlmapwidgethelper.cpp
|
||||
)
|
||||
|
|
@ -315,6 +316,7 @@ elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
|||
set(SUBSURFACE_APP
|
||||
subsurface-desktop-main.cpp
|
||||
subsurface-desktop-helper.cpp
|
||||
subsurface-helper.cpp
|
||||
)
|
||||
source_group("Subsurface App" FILES ${SUBSURFACE_APP})
|
||||
if(ANDROID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue