aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-01-18 17:21:01 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-01-24 11:46:34 +0100
commit727d5cc0e72837fdf1c2fb053ad5bee4d42f92a4 (patch)
tree3da40328f5904db901b93c423cf532f6efc9f306 /src
parent58a1ada0250f6d6390f0d04b547b3bb5f9934189 (diff)
Git submodules migration to separated libraries
Migrate submodule to use the afb-helpers and controller libraries. Find them as packages not only link against them like before. - Remove the submodules - Remote the target link on target - Add dependencies to afb-helpers and appcontroller packages. Bug-AGL: SPEC-2139 Change-Id: I79da3a84bc1ee020924bb51f0eaed85a99ba7288 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt13
-rw-r--r--src/aft.h1
2 files changed, 2 insertions, 12 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e6351fb..7b528a6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,22 +24,11 @@ PROJECT_TARGET_ADD(aft)
ADD_LIBRARY(${TARGET_NAME} MODULE ${TARGET_NAME}.c mapis.c)
SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- PREFIX ""
+ PREFIX ""
LABELS "BINDING"
OUTPUT_NAME ${TARGET_NAME}
)
- TARGET_LINK_LIBRARIES(${TARGET_NAME}
- afb-helpers
- ctl-utilities
- ${link_libraries}
- )
-
- # Define target includes for this target client
- TARGET_INCLUDE_DIRECTORIES(${TARGET_NAME}
- PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
- )
-
# Define target includes for this target client
TARGET_INCLUDE_DIRECTORIES(${TARGET_NAME}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/src/aft.h b/src/aft.h
index 7ac00a0..6778e02 100644
--- a/src/aft.h
+++ b/src/aft.h
@@ -24,6 +24,7 @@
#include <ctl-config.h>
#include <filescan-utils.h>
#include <wrap-json.h>
+#include <afb/afb-binding.h>
#ifndef ERROR
#define ERROR -1