X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=3e3a9e159f8f0d7f18208f1fdc4c47ed4c60097a;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=71cd1ff2fa00d6bb2aa25798f59e52de1ed9417a;hpb=16f014ef35b8355de1006891fe6920c8b51675fe;p=src%2Fapp-framework-binder.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 71cd1ff2..3e3a9e15 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ ########################################################################### -# Copyright (C) 2015-2019 "IoT.bzh" +# Copyright (C) 2015-2020 "IoT.bzh" # # author: José Bollo # @@ -20,18 +20,18 @@ if (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9) message(FATAL_ERROR "Require at least gcc-4.9") endif(CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9) -ADD_DEFINITIONS(-DBINDING_INSTALL_DIR="${binding_install_dir}") +ADD_DEFINITIONS(-DINTRINSIC_BINDING_DIR="${INTRINSIC_BINDING_DIR}") # Always add INFER_EXTENSION (more details in afb-hreq.c) ADD_DEFINITIONS(-DINFER_EXTENSION) ############################################################################ # TODO: improve below setting by using config file -option(WITH_SIG_MONITOR_DUMPSTACK "activate dump stack on error" ON) -option(WITH_SIG_MONITOR_SIGNALS "activate handling of signals" ON) -option(WITH_SIG_MONITOR_FOR_CALL "activate monitoring of calls" ON) -option(WITH_SIG_MONITOR_TIMERS "activate monitoring of call expiration" ON) -option(WITH_AFB_HOOK "include hooking" ON) -option(WITH_AFB_TRACE "include monitoring trace" ON) +option(WITH_SIG_MONITOR_DUMPSTACK "Activate dump stack on error" ON) +option(WITH_SIG_MONITOR_SIGNALS "Activate handling of signals" ON) +option(WITH_SIG_MONITOR_FOR_CALL "Activate monitoring of calls" ON) +option(WITH_SIG_MONITOR_TIMERS "Activate monitoring of call expiration" ON) +option(WITH_AFB_HOOK "Include hooking" ON) +option(WITH_AFB_TRACE "Include monitoring trace" ON) option(WITH_SUPERVISOR "Activates installation of supervisor" OFF) option(WITH_DBUS_TRANSPARENCY "Allows API transparency over DBUS" OFF) option(WITH_LEGACY_BINDING_V1 "Includes the legacy Binding API version 1" OFF) @@ -88,6 +88,7 @@ SET(AFB_LIB_SOURCES afb-context.c afb-cred.c afb-debug.c + afb-error-text.c afb-evt.c afb-export.c afb-fdev.c @@ -99,11 +100,14 @@ SET(AFB_LIB_SOURCES afb-method.c afb-monitor.c afb-msg-json.c + afb-perm.c + afb-permission-text.c afb-proto-ws.c afb-session.c afb-socket.c afb-stub-ws.c afb-supervision.c + afb-token.c afb-trace.c afb-websock.c afb-ws-client.c @@ -123,6 +127,8 @@ SET(AFB_LIB_SOURCES sig-monitor.c subpath.c systemd.c + u16id.c + uuid.c verbose.c watchdog.c websock.c