aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-08 12:08:31 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-08 12:08:31 +0200
commit9b2163beb6c0589f4330b836ef28ec47141ea5b0 (patch)
tree0a1e4851b8a4272e580e5496f05f2cbd4febec79 /cmake
parent7c38b8d8f8d1eb78863473dea2cb169f697323bf (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>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.cmake.sample44
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.
#------------------------------------------------------------