From d0fb1850606ce003887259675e271a9aade4fda0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Feb 2015 16:16:48 +0100 Subject: o Starting a new class for all SoilMoisture GATT stuff. --- apps/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/CMakeLists.txt') diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index aefb0fb..e210716 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -1,4 +1,5 @@ set(APPS sm-get-value ble-inspect-device) +set(shared_sources SoilMoisture.cpp) # Boost find_package(Boost COMPONENTS system log thread REQUIRED) @@ -12,7 +13,7 @@ find_package(Threads REQUIRED) foreach(app ${APPS}) include_directories("${PROJECT_SOURCE_DIR}/include") - add_executable(${app} ${app}.cpp) + add_executable(${app} ${app}.cpp ${shared_sources}) add_dependencies(${app} ble) target_link_libraries(${app} ble) -- cgit v1.2.3