X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=eb2d2d12772304ee8179ba0c85fe5f0cb24c7ebf;hb=refs%2Fchanges%2F05%2F10705%2F1;hp=5a8d2d2a14dbb07f813ae7ec0e3765effb46d885;hpb=119e23a69678d0d71a81d8460b4bc0099c8c9729;p=src%2Fapp-framework-binder.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a8d2d2a..eb2d2d12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,6 +112,20 @@ SET(link_libraries SET(binding_install_dir ${CMAKE_INSTALL_FULL_LIBDIR}/afb) +########################################################################### +# activates the monitoring by default +set(INCLUDE_MONITORING ON CACHE BOOL "Activates installation of monitoring") +if(INCLUDE_MONITORING) + add_definitions(-DWITH_MONITORING_OTPION) + INSTALL(DIRECTORY + ${CMAKE_CURRENT_SOURCE_DIR}/test/monitoring + DESTINATION + ${binding_install_dir} + ) +endif() + +########################################################################### + ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(include) ADD_SUBDIRECTORY(bindings)