summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-07-03 18:59:11 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-07-10 18:13:24 +0200
commit7275efd56abe3bc02b6f630dc18b415916e7f030 (patch)
treecc77edfa0ad4a50df50b76c264f43d302ca29295 /conf.d
parent1a525b0c4bb28e46f8960a86ab19a9a75e132f67 (diff)
No longer sets the API version in code
This is done in config.cmake Change-Id: Icf36d61a5127689e55e11125cbe60b72b939bb1a Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/cmake/config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 02671cc..00b8141 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -99,6 +99,8 @@ set(COMPILE_OPTIONS
-DCONTROL_PLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/plugins/lib:${CMAKE_BINARY_DIR}/package/lib/plugins:/var/local/lib/afm/applications/${PROJECT_NAME}/${PROJECT_VERSION}/lib/plugins"
-DCONTROL_LUA_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/plugins/lua:${CMAKE_BINARY_DIR}/package/data:/var/local/lib/afm/applications/${PROJECT_NAME}/${PROJECT_VERSION}/var"
-DUSE_API_DYN=1
+-DAFB_BINDING_VERSION=3
+-DAFB_BINDING_WANT_DYNAPI=1
CACHE STRING "Compilation flags")
#set(C_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C language.")
#set(CXX_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C++ language.")