summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-28 13:36:12 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:20 +0200
commit476aa3eb99186e27f3e0b1841d5fe823c99ed52e (patch)
tree1679fb7b6a9bb509039e0766f5de4b7ec5c47e6a
parent9c7f98f295524d742b1c51bba4d4bf08b7a22a1f (diff)
Fix missing variable use for remote debug
Change-Id: I73a3c490e9abe780a79ac24fbfc838e5bd18eade Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-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