mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
427c696c70
This enables posibility of building standalone import tool via cmake. Adds an option SMARTRAK_IMPORT (defaults to OFF) which, if turned ON, will require glib-2.0 and libmdb libraries to be installed, and, calling will produce an executable with the highly original name of smtk2ssrf. I have no capability to cross-compile to windows, so I haven't even tried to put this in Win, less say in Mac. I expect linux users which may be actual users of SmartTrak, to test this before trying to build on windows, although the target public will probably be the windows users (or at least, ex windows user). Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
10 lines
304 B
CMake
10 lines
304 B
CMake
set(SMTK_IMPORT_SRCS
|
|
smartrak.c
|
|
smrtk2ssrfc_window.ui
|
|
smrtk2ssrfc_window.h
|
|
smrtk2ssrfc_window.cpp
|
|
)
|
|
source_group("SmartTrak Import libs" FILES ${SMTK_IMPORT_SRCS})
|
|
|
|
add_library(smtk_import STATIC ${SMTK_IMPORT_SRCS})
|
|
target_link_libraries(smtk_import subsurface_corelib ${SUBSURFACE_LINK_LIBRARIES})
|