diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-22 11:15:42 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-22 11:15:42 +0200 |
commit | a7bb818826b3ba1165af5d87252d75b5166112b8 (patch) | |
tree | 4c3ffe13483f4795c43c487e8aae1eea4481cd78 /Controller-afb/CMakeLists.txt | |
parent | 837905124166ea66da3f412520ba611dbc0e7660 (diff) |
Controller binding extraction from Audio-bindings
Change-Id: I494bf5163c218a6d499b8321797f5de693c284c2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'Controller-afb/CMakeLists.txt')
-rw-r--r-- | Controller-afb/CMakeLists.txt | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/Controller-afb/CMakeLists.txt b/Controller-afb/CMakeLists.txt index c7602f8..e62a0e8 100644 --- a/Controller-afb/CMakeLists.txt +++ b/Controller-afb/CMakeLists.txt @@ -16,15 +16,6 @@ # limitations under the License. ########################################################################### -ADD_COMPILE_OPTIONS(-DCONTROL_ONLOAD_PROFILE="onload-default-profile") - -ADD_COMPILE_OPTIONS(-DCONTROL_DOSCRIPT_PRE="doscript") -ADD_COMPILE_OPTIONS(-DCONTROL_CONFIG_PRE="onload") -ADD_COMPILE_OPTIONS(-DCONTROL_CONFIG_POST="control") -ADD_COMPILE_OPTIONS(-DCONTROL_CONFIG_PATH="${CMAKE_SOURCE_DIR}/conf.d/project/config.d:${CMAKE_INSTALL_PREFIX}/controller/config.d") -ADD_COMPILE_OPTIONS(-DCTL_PLUGIN_MAGIC=2468013579) -ADD_COMPILE_OPTIONS(-DCONTROL_PLUGIN_PATH="${CMAKE_BINARY_DIR}:${CMAKE_INSTALL_PREFIX}/controller-plugins:/usr/lib/afb/controller-plugins/ctlplug") - # Include LUA only when requested if(CONTROL_SUPPORT_LUA) message(STATUS "Notice: LUA Controler Support Selected") @@ -40,7 +31,7 @@ endif(CONTROL_SUPPORT_LUA) PROJECT_TARGET_ADD(control-afb) # Define project Targets - ADD_LIBRARY(${TARGET_NAME} MODULE ctl-binding.c ctl-timer.c ctl-dispatch.c ${CTL_LUA_SOURCE}) + ADD_LIBRARY(${TARGET_NAME} MODULE ctl-binding.c ctl-timer.c ctl-dispatch.c ${CTL_LUA_SOURCE} filescan-utils.c wrap-json.c) SET_OPENAPI_FILENAME("ctl-apidef") # Binder exposes a unique public entry point @@ -53,14 +44,13 @@ PROJECT_TARGET_ADD(control-afb) # Library dependencies (include updates automatically) TARGET_LINK_LIBRARIES(${TARGET_NAME} - audio-common ${link_libraries} ) PROJECT_TARGET_ADD(audio-plugin-sample) - # Define targets + # Define targets ADD_LIBRARY(${TARGET_NAME} MODULE ctl-plugin-sample.c) # Alsa Plugin properties @@ -72,7 +62,6 @@ PROJECT_TARGET_ADD(audio-plugin-sample) # Library dependencies (include updates automatically) TARGET_LINK_LIBRARIES(${TARGET_NAME} - audio-common ${link_libraries} ) |