aboutsummaryrefslogtreecommitdiffstats
path: root/ll-database-binding/src
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-01-26 09:34:28 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-01-26 09:34:28 +0100
commitff3386eb00cd8b5c1f3301168fca26e422595f71 (patch)
tree99e1ae57bdf786b7d9737b0cdd58d1a30ae5f886 /ll-database-binding/src
parentf72bbd81d73ed5ebf8b884dd401fad7d2e9630bf (diff)
add debugging html ui.
Change-Id: I4e84bec38d9a2483ad6dbe0e393cde62e8c2a862 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-database-binding/src')
-rw-r--r--ll-database-binding/src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ll-database-binding/src/CMakeLists.txt b/ll-database-binding/src/CMakeLists.txt
index 95a481a..fc65420 100644
--- a/ll-database-binding/src/CMakeLists.txt
+++ b/ll-database-binding/src/CMakeLists.txt
@@ -17,6 +17,11 @@ set_target_properties(persistence-binding PROPERTIES
LINK_FLAGS ${BINDINGS_LINK_FLAG}
OUTPUT_NAME ${TARGET_NAME})
+add_custom_command(TARGET ${TARGET_NAME}
+ PRE_BUILD
+ COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/../package/htdocs
+ COMMAND cp -rv ${CMAKE_CURRENT_SOURCE_DIR}/../htdocs ${CMAKE_CURRENT_BINARY_DIR}/../package/)
+
install(TARGETS persistence-binding
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib