From 426a447af3eb289fe4e2bf44c4a813ccbe03885e Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sat, 27 Apr 2019 10:44:50 +1000 Subject: [PATCH] build: enable CPack --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48937e7..6292e4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,15 @@ foreach (t analyse compare stat) set_target_properties ("${t}" PROPERTIES OUTPUT_NAME "emory-${t}" ) + install (TARGETS "${t}") endforeach() add_executable (emory tools/emory.cpp) target_link_libraries (emory libemory) +install (TARGETS emory) + + +############################################################################### +set (CPACK_GENERATOR "TXZ") +set (CPACK_STRIP_FILES TRUE) +include (CPack)