Code Review
/
apps
/
app-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add gitreview file for Nifty Needlefish branch
[apps/app-templates.git]
/
samples.d
/
config.cmake.sample
diff --git
a/samples.d/config.cmake.sample
b/samples.d/config.cmake.sample
index
457992b
..
a0b215d
100644
(file)
--- a/
samples.d/config.cmake.sample
+++ b/
samples.d/config.cmake.sample
@@
-19,6
+19,7
@@
# Project Info
# ------------------
set(PROJECT_NAME example)
# Project Info
# ------------------
set(PROJECT_NAME example)
+set(API_NAME api-test)
set(PROJECT_PRETTY_NAME "Example")
set(PROJECT_DESCRIPTION "AGL application example")
set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/apps/app-templates")
set(PROJECT_PRETTY_NAME "Example")
set(PROJECT_DESCRIPTION "AGL application example")
set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/apps/app-templates")
@@
-108,17
+109,24
@@
set (PKG_REQUIRED_LIST
#set(DEBUG_COMPILE_OPTIONS
# -g
# -ggdb
#set(DEBUG_COMPILE_OPTIONS
# -g
# -ggdb
-# -Og
-# -D_FORTIFY_SOURCE=2
# 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
# --coverage
# -g
# --coverage
-# CACHE STRING "Compilation flags for C
COV
build type.")
+# CACHE STRING "Compilation flags for C
OVERAGE
build type.")
#set(RELEASE_COMPILE_OPTIONS
#set(RELEASE_COMPILE_OPTIONS
-# -g
# -O2
# -O2
+# -pipe
# -D_FORTIFY_SOURCE=2
# -D_FORTIFY_SOURCE=2
+# -fstack-protector-strong
+# -Wformat -Wformat-security
+# -Werror=format-security
+# -feliminate-unused-debug-types
+# -Wl,-O1
+# -Wl,--hash-style=gnu
+# -Wl,--as-needed
+# -fstack-protector-strong
+# -Wl,-z,relro,-z,now
# CACHE STRING "Compilation flags for RELEASE build type.")
# Location for config.xml.in template file.
# CACHE STRING "Compilation flags for RELEASE build type.")
# Location for config.xml.in template file.
@@
-129,6
+137,7
@@
set (PKG_REQUIRED_LIST
# -----------------------------------------
#set(WIDGET_ICON "conf.d/wgt/${PROJECT_ICON}" CACHE PATH "Path to the widget icon")
#set(WIDGET_CONFIG_TEMPLATE "${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in" CACHE PATH "Path to widget config file template (config.xml.in)")
# -----------------------------------------
#set(WIDGET_ICON "conf.d/wgt/${PROJECT_ICON}" CACHE PATH "Path to the widget icon")
#set(WIDGET_CONFIG_TEMPLATE "${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in" CACHE PATH "Path to widget config file template (config.xml.in)")
+#set(TEST_WIDGET_CONFIG_TEMPLATE "${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/test-config.xml.in" CACHE PATH "Path to the test widget config file template (test-config.xml.in)")
# Mandatory widget Mimetype specification of the main unit
# --------------------------------------------------------------------------
# Mandatory widget Mimetype specification of the main unit
# --------------------------------------------------------------------------
@@
-182,7
+191,7
@@
set(AFB_REMPORT "1234" CACHE PATH "Default binder listening port")
# Print a helper message when every thing is finished
# ----------------------------------------------------
# Print a helper message when every thing is finished
# ----------------------------------------------------
-set(CLOSING_MESSAGE "Typical binding launch: cd ${CMAKE_BINARY_DIR}/package
&
& afb-daemon --port=${AFB_REMPORT} --workdir=. --ldpaths=lib --roothttp=htdocs --token=\"${AFB_TOKEN}\" --tracereq=common --verbose")
+set(CLOSING_MESSAGE "Typical binding launch: cd ${CMAKE_BINARY_DIR}/package
\\&\\
& afb-daemon --port=${AFB_REMPORT} --workdir=. --ldpaths=lib --roothttp=htdocs --token=\"${AFB_TOKEN}\" --tracereq=common --verbose")
set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt")
# Optional schema validator about now only XML, LUA and JSON
set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt")
# Optional schema validator about now only XML, LUA and JSON