aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-28 13:36:12 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-28 13:36:12 +0200
commitc46c36a2d0e1b27159fdb98cba89f45e4f3dfaa9 (patch)
tree1857ff741213a7c36526359140816ba1cbc6faf7 /cmake
parent8cd1b7811d19e353206acecfa5d0364ab5733e1a (diff)
Fix missing variable use for remote debug
Change-Id: I73a3c490e9abe780a79ac24fbfc838e5bd18eade Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/common.cmake3
-rw-r--r--cmake/config.cmake.sample7
2 files changed, 10 insertions, 0 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index afc8ce0..8e23af7 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -278,6 +278,9 @@ project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES
set(PROJECT_LIBDIR "${CMAKE_SOURCE_DIR}/libs" CACHE PATH "Subpath to libraries")
set(PROJECT_RESOURCES "${CMAKE_SOURCE_DIR}/data" CACHE PATH "Subpath to data")
+set(AFB_TOKEN "" CACHE PATH "Default AFB_TOKEN")
+set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN")
+
INCLUDE(FindPkgConfig)
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
diff --git a/cmake/config.cmake.sample b/cmake/config.cmake.sample
index 73d3832..af5ad93 100644
--- a/cmake/config.cmake.sample
+++ b/cmake/config.cmake.sample
@@ -124,3 +124,10 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib)
# - application/vnd.agl.html.hybrid
#
# set(WIDGET_TYPE MimeType)
+
+
+# Optional Application Framework security token
+# and port use for remote debugging.
+#------------------------------------------------------------
+#set(AFB_TOKEN "" CACHE PATH "Default AFB_TOKEN")
+#set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN") \ No newline at end of file