X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=e1c72d5716812cb93d42f8a24d649b1f242c87c7;hb=03966c169d4f93f7ee3258c0f49f6cfd6f2b7b10;hp=56ac31d7e2bfd8b5a1fcfdc421afdf701f218ba3;hpb=ab0ac254cc142f25bec0d5a6250856ad15bbbc82;p=src%2Fapp-framework-main.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 56ac31d..e1c72d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ ########################################################################### -# Copyright 2015, 2016, 2017 IoT.bzh +# Copyright (C) 2015-2018 IoT.bzh # # author: José Bollo # @@ -26,7 +26,7 @@ include(CTest) set(PROJECT_NAME "AFM Main") set(PROJECT_PRETTY_NAME "Application Framework Main") set(PROJECT_DESCRIPTION "Secured Application framework for Automotive Grade Linux") -set(PROJECT_VERSION "1.0") +set(PROJECT_VERSION "5.99-FF-draft") set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/app-framework-main.git;a=summary") set(USE_LIBZIP ON CACHE BOOL "should try to use libzip?") @@ -47,6 +47,8 @@ set(afm_user_appdir "app-data" CACHE STRING "User subdirectory for appli set(afm_user_appdir_label "User::App-Shared" CACHE STRING "Smack label of the user subdirectory for applications") set(systemd_units_root "${CMAKE_INSTALL_FULL_LIBDIR}/systemd" CACHE STRING "Place where unit files are to be set") set(wgtpkg_trusted_cert_dir "${afm_confdir}/certs" CACHE STRING "Path to internal certificates") +set(afm_platform_rundir "/run/platform" CACHE STRING "Path to location of platform runtime sockets") +set(afm_users_rundir "/run/user" CACHE STRING "Path to location of users runtime sockets") if(USE_SIMULATION) set(SIMULATE_SECMGR ON) @@ -65,6 +67,7 @@ add_definitions( -DFWK_UNIT_CONF="${afm_confdir}/afm-unit.conf" -DFWK_USER_APP_DIR_LABEL="${afm_user_appdir_label}" -DSYSTEMD_UNITS_ROOT="${systemd_units_root}" + -DAFM_VERSION="${PROJECT_VERSION}" ) add_subdirectory(src)