diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-22 11:43:58 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:48 +0200 |
commit | a8f2469bae198d6456b7664803272bc4b56722ec (patch) | |
tree | b8ddfbeaa8fad585ab2c864472dd911b699dce94 /samples.d/config.cmake.sample | |
parent | b51ab554bb74ca6d4c58d4553df2664cc96d4261 (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>
Diffstat (limited to 'samples.d/config.cmake.sample')
-rw-r--r-- | samples.d/config.cmake.sample | 16 |
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 # -------------------------------------------------------------------------- |