From 55538fbac16de3f709547a6b70ae07810cc3ba25 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 17 May 2017 18:43:31 +0200 Subject: [PATCH] Add closing message and a widget message. Example more complete Change-Id: Ia320d1f95131704b2d5dfd5987edbc183e2956bd Signed-off-by: Romain Forlot --- templates/html5/etc/config.cmake | 4 ++-- templates/hybrid-html5/etc/config.cmake | 4 ++-- templates/native/etc/config.cmake | 4 ++-- templates/service/etc/config.cmake | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/html5/etc/config.cmake b/templates/html5/etc/config.cmake index 2a07d72..a9bb0a7 100644 --- a/templates/html5/etc/config.cmake +++ b/templates/html5/etc/config.cmake @@ -52,8 +52,8 @@ set(CMAKE_CXX_FLAGS "") # Print a helper message when every thing is finished # ---------------------------------------------------- -#set(CLOSING_MESSAGE "") -#set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") +set(CLOSING_MESSAGE "Test launching application with : afb-daemon --rootdir=\$\$(pwd)/package --ldpaths=\$\$(pwd)/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"1\" --verbose then using your browser and connect to http://localhost:1234/api?token=1") +set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- diff --git a/templates/hybrid-html5/etc/config.cmake b/templates/hybrid-html5/etc/config.cmake index f0f64e0..b7c9a91 100644 --- a/templates/hybrid-html5/etc/config.cmake +++ b/templates/hybrid-html5/etc/config.cmake @@ -52,8 +52,8 @@ set(CMAKE_CXX_FLAGS "") # Print a helper message when every thing is finished # ---------------------------------------------------- -#set(CLOSING_MESSAGE "") -#set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") +set(CLOSING_MESSAGE "Test launching application with : afb-daemon --rootdir=\$\$(pwd)/package --ldpaths=\$\$(pwd)/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"1\" --verbose then using your browser and connect to http://localhost:1234/api?token=1") +set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- diff --git a/templates/native/etc/config.cmake b/templates/native/etc/config.cmake index 0507853..1c8607e 100644 --- a/templates/native/etc/config.cmake +++ b/templates/native/etc/config.cmake @@ -52,8 +52,8 @@ set(CMAKE_CXX_FLAGS "") # Print a helper message when every thing is finished # ---------------------------------------------------- -#set(CLOSING_MESSAGE "") -#set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") +set(CLOSING_MESSAGE "Test launching application with : afb-daemon --rootdir=\$\$(pwd)/package --ldpaths=\$\$(pwd)/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"1\" --verbose") +set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- diff --git a/templates/service/etc/config.cmake b/templates/service/etc/config.cmake index f2239a8..0d8ec9f 100644 --- a/templates/service/etc/config.cmake +++ b/templates/service/etc/config.cmake @@ -52,8 +52,8 @@ set(CMAKE_CXX_FLAGS "") # Print a helper message when every thing is finished # ---------------------------------------------------- -#set(CLOSING_MESSAGE "") -#set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") +set(CLOSING_MESSAGE "Test launching application with : afb-daemon --rootdir=\$\$(pwd)/package --ldpaths=\$\$(pwd)/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"1\" --verbose then using command 'afb-client-demo ws://localhost:1234/api?token=1' to communicate with the service") +set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- -- 2.16.6