diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-07 17:00:04 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-07 17:00:35 +0200 |
commit | 8f5a17b459da4a336f900961a2f5868a846e5899 (patch) | |
tree | 5b433601e6c069a92714c817b42a14c88c3783a3 | |
parent | 72ca4ff2f7b3515fde8a4db5704de26ba70c2f94 (diff) |
Launch from workdir
This will ensure we are to be able to correctly debug
with GDB. Indeed workdir afb-daemon parameter need to be
set at the current dir to correctly retrieve source files
path for GDB
Change-Id: Ib59e80ec48314d5d58e033d894314d0bd676fb85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | samples.d/config.cmake.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample index b69784d..3ec9201 100644 --- a/samples.d/config.cmake.sample +++ b/samples.d/config.cmake.sample @@ -184,7 +184,7 @@ set(AFB_REMPORT "1234" CACHE PATH "Default binder listening port") # Print a helper message when every thing is finished # ---------------------------------------------------- -set(CLOSING_MESSAGE "Typical binding launch: afb-daemon --port=${AFB_REMPORT} --workdir=${CMAKE_BINARY_DIR} --ldpaths=package/lib --roothttp=package/htdocs --token=\"${AFB_TOKEN}\" --tracereq=common --verbose") +set(CLOSING_MESSAGE "Typical binding launch: cd ${CMAKE_BINARY_DIR}/package && afb-daemon --port=${AFB_REMPORT} --workdir=. --ldpaths=lib --roothttp=htdocs --token=\"${AFB_TOKEN}\" --tracereq=common --verbose") set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # Optional schema validator about now only XML, LUA and JSON |