diff options
author | José Bollo <jose.bollo@iot.bzh> | 2020-11-12 08:43:57 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2020-11-12 08:51:17 +0100 |
commit | c84823f3981b56171482b41d2b704c32cdd8062a (patch) | |
tree | 57e721df059c18883cc35ed38119f4521d419be8 | |
parent | 200ddeac727a0037efb193a9e6eb93721dc84c3d (diff) |
Version 2.1jellyfish_10.0.3jellyfish_10.0.2jellyfish_10.0.1jellyfish/10.0.3jellyfish/10.0.2jellyfish/10.0.110.0.310.0.210.0.1jellyfish
The version 2.1 fixes a database issue.
Bug-AGL: SPEC-3677
Change-Id: I5c8e4595894ee26a2018f939a42ba0b8abcad722
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/main-cynagora-admin.c | 2 | ||||
-rw-r--r-- | src/main-cynagora-agent.c | 2 | ||||
-rw-r--r-- | src/main-cynagorad.c | 2 |
4 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a508bb..20afd07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,12 +16,12 @@ # limitations under the License. ########################################################################### -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.12) project(cynagora DESCRIPTION "Secured permission database for applications" HOMEPAGE_URL "https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/cynagora.git;a=summary" - VERSION 2.0 + VERSION 2.1 LANGUAGES C ) @@ -64,6 +64,8 @@ add_compile_options(-Werror=implicit-function-declaration) add_compile_options(-ffunction-sections -fdata-sections) #add_compile_options(-ffile-prefix-map=${CMAKE_SOURCE_DIR}=.) +add_compile_definitions(VERSION="${PROJECT_VERSION}") + ########################################################################### if(WITH_SYSTEMD) diff --git a/src/main-cynagora-admin.c b/src/main-cynagora-admin.c index 8f28db5..af3a6ab 100644 --- a/src/main-cynagora-admin.c +++ b/src/main-cynagora-admin.c @@ -84,7 +84,7 @@ helptxt[] = static const char versiontxt[] = - "cynagora-admin version 1.99.99\n" + "cynagora-admin version "VERSION"\n" ; static diff --git a/src/main-cynagora-agent.c b/src/main-cynagora-agent.c index 2e7e310..ff11a8f 100644 --- a/src/main-cynagora-agent.c +++ b/src/main-cynagora-agent.c @@ -139,7 +139,7 @@ longhelptxt[] = static const char versiontxt[] = - "cynagora-agent version 1.99.99\n" + "cynagora-agent version "VERSION"\n" ; static char *name; diff --git a/src/main-cynagorad.c b/src/main-cynagorad.c index 836e7c8..3b568ab 100644 --- a/src/main-cynagorad.c +++ b/src/main-cynagorad.c @@ -132,7 +132,7 @@ helptxt[] = static const char versiontxt[] = - "cynagorad version 1.99.99\n" + "cynagorad version "VERSION"\n" ; static int isid(const char *text); |