diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-06-08 12:08:31 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | e7a251dda2d54e79f868d1f2ee8cda192e09cca5 (patch) | |
tree | 21e364be2a2a0a770b06eb8a86511266895b9d89 | |
parent | 7112d1d44d47145d80ad9166c8793506974b4609 (diff) |
Fix: empty value in generated config.xml file.
Make mandatory and update WIDGET_ENTRY_POINT and
WIDGET_TYPE settings.
Change-Id: I6681bab6d31a47769467be1a43de6fb9070007be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | cmake/config.cmake.sample | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/cmake/config.cmake.sample b/cmake/config.cmake.sample index eea08d9..b609542 100644 --- a/cmake/config.cmake.sample +++ b/cmake/config.cmake.sample @@ -79,6 +79,27 @@ set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) +# Mandatory widget Mimetype specification +# -------------------------------------------------- +# Choose between : +# - application/vnd.agl.service +# - application/vnd.agl.native +# - application/x-executable +# - text/html +# +set(WIDGET_TYPE MimeType_Not_Set) + +# Mandatory Widget entry point file. +# ---------------------------------------------------- +# This is the file that will be executed, loaded,... +# at launch time by the application framework +# +# !IMPORTANT! : Service Widget Mimetype has to specified +# the WIDGET_ENTRY_POINT "lib" which is the default directory +# that holds the bindings. +# +set(WIDGET_ENTRY_POINT EntryPoint_Path_Not_Set) + # Optional dependencies order # --------------------------- #set(EXTRA_DEPENDENCIES_ORDER) @@ -103,29 +124,6 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) # ----------------------------------------------------- # set(PACKAGE_PREFIX DestinationPath) -# Optional Widget entry point file. -# --------------------------------------------------------- - # This is the file that will be executed, loaded,... -# at launch time by the application framework - -# set(WIDGET_ENTRY_POINT EntryPoint_Path) - -# Optional Widget Mimetype specification -# -------------------------------------------------- -# Choose between : -# - application/x-executable -# - application/vnd.agl.url -# - application/vnd.agl.service -# - application/vnd.agl.native -# - text/vnd.qt.qml -# - text/html -# - application/vnd.agl.qml -# - application/vnd.agl.qml.hybrid -# - application/vnd.agl.html.hybrid -# -# set(WIDGET_TYPE MimeType) - - # Optional Application Framework security token # and port use for remote debugging. #------------------------------------------------------------ |