diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2015-11-10 20:51:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-12 07:39:18 -0800 |
commit | 427c696c707ca8714b21e125bb2f1ccc7b7856c0 (patch) | |
tree | cbfe5d458d7f3b807f95bc6ec5a28e3c53b52c0f /smtk-import | |
parent | ddc77845142c19097b5c8094d7601f78719d3e53 (diff) | |
download | subsurface-427c696c707ca8714b21e125bb2f1ccc7b7856c0.tar.gz |
SmartTrak import - Add build capability to cmake
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>
Diffstat (limited to 'smtk-import')
-rw-r--r-- | smtk-import/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/smtk-import/CMakeLists.txt b/smtk-import/CMakeLists.txt new file mode 100644 index 000000000..93fbb847d --- /dev/null +++ b/smtk-import/CMakeLists.txt @@ -0,0 +1,10 @@ +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}) |