aboutsummaryrefslogtreecommitdiffstats
path: root/ll-database-binding/src/CMakeLists.txt
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:58 +0100
commit0ee62da86da6b65d3639532462b39394a3321413 (patch)
tree72fef1ce4f45bd65a456c2a162052b8597c2fcd9 /ll-database-binding/src/CMakeLists.txt
parent5dfef8a03edaa1cd27d4b77a08c0f5381a642bcd (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/CMakeLists.txt')
-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