summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorluqiuwen <[email protected]>2019-09-03 19:50:58 +0800
committer陆秋文 <[email protected]>2019-09-03 21:10:40 +0800
commit38187063b43e933d43a99afe62d32a097e8db830 (patch)
tree410f1829dbe4f632b244563ccd9f77295b693ecd /vendor
parent06fe5652c52b25994bb7be48a6b1e579c9eaa72e (diff)
#159 增加崩溃后调用工具自动向服务器上传minidump功能,增加在CI中收集编译调试符号的实现。
Diffstat (limited to 'vendor')
-rw-r--r--vendor/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt
index 109b588..aa0b2f2 100644
--- a/vendor/CMakeLists.txt
+++ b/vendor/CMakeLists.txt
@@ -348,3 +348,9 @@ add_dependencies(breakpad-client-static breakpad)
set_property(TARGET breakpad-client-static PROPERTY IMPORTED_LOCATION ${INSTALL_DIR}/lib/libbreakpad_client.a)
set_property(TARGET breakpad-client-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include/breakpad)
target_link_libraries(breakpad-client-static INTERFACE pthread)
+
+# install the minidump tools to target binary dir
+install(PROGRAMS ${INSTALL_DIR}/bin/minidump-2-core DESTINATION bin COMPONENT Program)
+install(PROGRAMS ${INSTALL_DIR}/bin/minidump_dump DESTINATION bin COMPONENT Program)
+install(PROGRAMS ${INSTALL_DIR}/bin/minidump_stackwalk DESTINATION bin COMPONENT Program)
+install(PROGRAMS ${INSTALL_DIR}/bin/minidump_upload DESTINATION bin COMPONENT Program)