aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-22 11:43:58 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-24 15:58:11 +0200
commit9202fac0b692d6a244f76ddf5561aeffb8db256a (patch)
tree915afa8bb174049f181b5ad2e8bd7a33c48932aa
parentf94e45e8a48e16e3001cb55c4f8c3c0a2a2c9e24 (diff)
More accurate comment about widget template file.
Also remove an unused variable. Change-Id: Idd6b67b5d302dd489dd15797355507a08912206d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--samples.d/config.cmake.sample16
1 files changed, 8 insertions, 8 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample
index 5b57d3a..457992b 100644
--- a/samples.d/config.cmake.sample
+++ b/samples.d/config.cmake.sample
@@ -32,10 +32,6 @@ set(PROJECT_LANGUAGES "C")
# relative to the root project directory
set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
-# 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.
-# set(PROJECT_LIBDIR "libs")
-
# Which directories inspect to find CMakeLists.txt target files
# set(PROJECT_SRC_DIR_PATTERN "*")
@@ -125,10 +121,14 @@ set (PKG_REQUIRED_LIST
# -D_FORTIFY_SOURCE=2
# CACHE STRING "Compilation flags for RELEASE build type.")
-# Optional location for 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)")
+# Location for config.xml.in template file.
+#
+# If you keep them commented then it will build with a default minimal widget
+# template which is very simple and it is highly probable that it will not suit
+# to your app.
+# -----------------------------------------
+#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)")
# Mandatory widget Mimetype specification of the main unit
# --------------------------------------------------------------------------