From 31f0741ecc0013cd361683e7fad9bf2c8c166a13 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 14 Nov 2020 19:44:06 -0800 Subject: downloader: first outline of downloading dives from a device This is of course not functional at all, but it gives a first idea of what we will need to do in this code. Signed-off-by: Dirk Hohndel --- core/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/CMakeLists.txt') diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 1ed24019c..51ccf608f 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -20,6 +20,10 @@ if(FTDISUPPORT) set(SERIAL_FTDI serial_ftdi.c) endif() +if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DownloaderExecutable") + set(DOWNLOADER cli-downloader.cpp) +endif() + if(BTSUPPORT) add_definitions(-DBT_SUPPORT) set(BT_SRC_FILES desktop-widgets/btdeviceselectiondialog.cpp) @@ -252,6 +256,7 @@ set(SUBSURFACE_CORE_LIB_SRCS ${SERIAL_FTDI} ${PLATFORM_SRC} ${BT_CORE_SRC_FILES} + ${DOWNLOADER} ) source_group("Subsurface Core" FILES ${SUBSURFACE_CORE_LIB_SRCS}) -- cgit v1.2.3-70-g09d2