X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CAN-binder%2Fconf.d%2Fconfig.cmake;h=0b0cfa02caa237fa9b9e9ad44697f868e8e1f977;hb=5f1783f76c11af207f732adb2d11dd125c78814c;hp=a4a5714fa17ad7296736a266c023a2e50e05bcfc;hpb=12f5819ae6d5d4c7eea35936be853d2604c6ea5c;p=apps%2Fagl-service-can-low-level.git diff --git a/CAN-binder/conf.d/config.cmake b/CAN-binder/conf.d/config.cmake index a4a5714f..0b0cfa02 100644 --- a/CAN-binder/conf.d/config.cmake +++ b/CAN-binder/conf.d/config.cmake @@ -18,19 +18,20 @@ # Project Info # ------------------ -set(PROJECT_NAME low-can-project) -set(VERSION "1.0") +set(PROJECT_NAME low-can-service) +set(PROJECT_VERSION "2.0") set(PROJECT_PRETTY_NAME "Low level CAN binding") set(PROJECT_DESCRIPTION "Expose CAN Low Level APIs through AGL Framework") set(PROJECT_URL "https://github.com/iotbzh/CAN_signaling") set(PROJECT_AUTHOR "Romain Forlot") set(PROJECT_AUTHOR_MAIL "romain.forlot@iot.bzh") set(PROJECT_ICON "icon.png") +set(PROJECT_LICENCE "APL2.0") set(PROJECT_LANGUAGES,"C") # Where are stored default templates files from submodule or subtree app-templates in your project tree # relative to the root project directory -set(PROJECT_APP_TEMPLATES_DIR "conf.d/default") +set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates") # Where are stored your external libraries for your project. This is 3rd party library that you don't maintain # but used and must be built and linked. @@ -45,7 +46,7 @@ set(CMAKE_BUILD_TYPE "DEBUG") # Kernel selection if needed. Overload the detected compiler. # ----------------------------------------------- -set (kernel_minimal_version 4.8) +#set (kernel_minimal_version 4.8) # Compiler selection if needed. Overload the detected compiler. # ----------------------------------------------- @@ -79,6 +80,31 @@ set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) +# Optional location for config.xml.in +# ----------------------------------- +set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in) + +# Mandatory widget Mimetype specification +# -------------------------------------------------- +# Choose between : +# - application/vnd.agl.service +# - application/vnd.agl.native +# - application/x-executable +# - text/html +# +set(WIDGET_TYPE application/vnd.agl.service) + +# Mandatory Widget entry point file. +# ---------------------------------------------------- +# This is the file that will be executed, loaded,... +# at launch time by the application framework +# +# !IMPORTANT! : Service Widget Mimetype has to specified +# the WIDGET_ENTRY_POINT "lib" which is the default directory +# that holds the bindings. +# +set(WIDGET_ENTRY_POINT lib/afs-low-can.so) + # Optional dependencies order # --------------------------- #set(EXTRA_DEPENDENCIES_ORDER) @@ -93,10 +119,18 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) # Optional force binding installation # ------------------------------------ -set(BINDINGS_INSTALL_PREFIX /opt ) -# set(WIDGET_PREFIX DestinationPath) +# set(BINDINGS_INSTALL_PREFIX PrefixPath ) # Optional force binding Linking flag # ------------------------------------ # set(BINDINGS_LINK_FLAG LinkOptions ) +# Optional force package prefix generation, like widget +# ----------------------------------------------------- +# set(PACKAGE_PREFIX DestinationPath) + +# Optional Application Framework security token +# and port use for remote debugging. +#------------------------------------------------------------ +#set(AFB_TOKEN "" CACHE PATH "Default AFB_TOKEN") +#set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN")