Code Review
/
apps
/
agl-service-data-persistence.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix config.cmake
[apps/agl-service-data-persistence.git]
/
conf.d
/
cmake
/
config.cmake
diff --git
a/conf.d/cmake/config.cmake
b/conf.d/cmake/config.cmake
index
5f59f66
..
9556a87
100644
(file)
--- a/
conf.d/cmake/config.cmake
+++ b/
conf.d/cmake/config.cmake
@@
-28,6
+28,7
@@
set(PROJECT_AUTHOR "Collignon, Loïc")
set(PROJECT_AUTHOR_MAIL "loic.collignon@iot.bzh")
set(PROJECT_LICENSE "MIT")
set(PROJECT_LANGUAGES,"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
# relative to the root project directory
# Where are stored default templates files from submodule or subtree app-templates in your project tree
# relative to the root project directory
@@
-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 "*")
# 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
# 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)
# ------------------------------------------------------
# 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
# -----------------------------
# Customize link option
# -----------------------------
@@
-107,16
+112,15
@@
set (PKG_REQUIRED_LIST
#set(DEBUG_COMPILE_OPTIONS
# -g
# -ggdb
#set(DEBUG_COMPILE_OPTIONS
# -g
# -ggdb
-# -Wp,-U_FORTIFY_SOURCE
# CACHE STRING "Compilation flags for DEBUG build type.")
# CACHE STRING "Compilation flags for DEBUG build type.")
-#set(C
COV
_COMPILE_OPTIONS
+#set(C
OVERAGE
_COMPILE_OPTIONS
# -g
# -g
-# -O2
# --coverage
# --coverage
-# CACHE STRING "Compilation flags for C
COV
build type.")
+# CACHE STRING "Compilation flags for C
OVERAGE
build type.")
#set(RELEASE_COMPILE_OPTIONS
# -g
# -O2
#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]
# CACHE STRING "Compilation flags for RELEASE build type.")
# (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]