fix(confg.cmake): set PROJECT_DESCRIPTION and PROJECT_URL to silence CMake warning
[apps/agl-service-data-persistence.git] / conf.d / cmake / config.cmake
index 5f59f66..7dcd8b3 100644 (file)
 set(PROJECT_NAME persistence-binding)
 set(PROJECT_VERSION "0.1")
 set(PROJECT_PRETTY_NAME "Low Level Database Binding")
-set(PROJECT_DESCRIPTION "")
-set(PROJECT_URL "")
+set(PROJECT_DESCRIPTION "Provide a database API with key/value semantics")
+set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/admin/repos/apps/agl-service-data-persistence")
 set(PROJECT_ICON "icon.png")
 set(PROJECT_AUTHOR "Collignon, Loïc")
 set(PROJECT_AUTHOR_MAIL "loic.collignon@iot.bzh")
 set(PROJECT_LICENSE "MIT")
 set(PROJECT_LANGUAGES,"C")
+set(API_NAME "persistence")
 
-# Where are stored default templates files from submodule or subtree app-templates in your project tree
+# Where are stored the project configuration files
 # relative to the root project directory
-set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
+set(PROJECT_CMAKE_CONF_DIR "conf.d")
 
 # 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.
@@ -43,6 +44,10 @@ set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
 # Which directories inspect to find CMakeLists.txt target files
 # set(PROJECT_SRC_DIR_PATTERN "*")
 
+# Compilation Mode (DEBUG, RELEASE)
+# ----------------------------------
+#set(BUILD_TYPE "RELEASE")
+
 # Kernel selection if needed. You can choose between a
 # mandatory version to impose a minimal version.
 # Or check Kernel minimal version and just print a Warning
@@ -71,7 +76,7 @@ set (PKG_REQUIRED_LIST
 # Prefix path where will be installed the files
 # Default: /usr/local (need root permission to write in)
 # ------------------------------------------------------
-#set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
+#set(INSTALL_PREFIX $ENV{HOME}/opt)
 
 # Customize link option
 # -----------------------------
@@ -107,16 +112,15 @@ set (PKG_REQUIRED_LIST
 #set(DEBUG_COMPILE_OPTIONS
 # -g
 # -ggdb
-# -Wp,-U_FORTIFY_SOURCE
 # CACHE STRING "Compilation flags for DEBUG build type.")
-#set(CCOV_COMPILE_OPTIONS
+#set(COVERAGE_COMPILE_OPTIONS
 # -g
-# -O2
 # --coverage
-# CACHE STRING "Compilation flags for CCOV build type.")
+# CACHE STRING "Compilation flags for COVERAGE build type.")
 #set(RELEASE_COMPILE_OPTIONS
 # -g
 # -O2
+# -D_FORTIFY_SOURCE=2
 # CACHE STRING "Compilation flags for RELEASE build type.")
 
 # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]
@@ -193,5 +197,8 @@ set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install
 
 # This include is mandatory and MUST happens at the end
 # of this file, else you expose you to unexpected behavior
+#
+# This CMake module could be found at the following url:
+# https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module
 # -----------------------------------------------------------
-include(${PROJECT_APP_TEMPLATES_DIR}/cmake/common.cmake)
+include(CMakeAfbTemplates)