build-system: move exportfuncs to backend-shared

WARNING: multi directory commit, needed to secure it builds.

move the core/exportfuncs.* to backend-shared.

update backend-shared/CMakeLists.txt to generate backend-shared lib

update CMakeLists.txt to include backend-shared lib in link process.

update ios project to reflect new directory

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-14 21:56:31 +01:00 committed by Dirk Hohndel
parent 7181b7bcd1
commit 9c52aaf043
8 changed files with 13 additions and 6 deletions

View file

@ -1,2 +1,9 @@
# backend functionality shared between Desktop (UI) and Mobile (QML)
set(BACKEND_SRCS
exportfuncs.cpp
exportfuncs.h
)
add_library(subsurface_backend_shared STATIC ${BACKEND_SRCS})
target_link_libraries(subsurface_backend_shared ${QT_LIBRARIES})