From e7a251dda2d54e79f868d1f2ee8cda192e09cca5 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 8 Jun 2017 12:08:31 +0200 Subject: 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 --- cmake/config.cmake.sample | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) (limited to 'cmake') 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. #------------------------------------------------------------ -- cgit 1.2.3-korg