From 2bf3017021807ac527de605ef00e8d324d21d613 Mon Sep 17 00:00:00 2001 From: KjellKod Date: Fri, 3 Oct 2014 01:04:26 -0600 Subject: [PATCH] BETA CPack --- g2log/CPackLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 g2log/CPackLists.txt diff --git a/g2log/CPackLists.txt b/g2log/CPackLists.txt new file mode 100644 index 0000000..60bbfed --- /dev/null +++ b/g2log/CPackLists.txt @@ -0,0 +1,17 @@ + SET(CPACK_INSTALL_PREFIX "/usr/local/") + INSTALL( TARGETS g3logger_shared + ARCHIVE + LIBRARY DESTINATION lib/g3log + COMPONENT libraries) + + INSTALL( FILES ${HEADER_FILES} + DESTINATION include + COMPONENT headers) + + SET(CPACK_COMPONENTS_ALL libraries headers) + SET(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "G3Log libraries") + SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "G3Log C++ headers") + + #SET(CPACK_GENERATOR "DEB") + #SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Kjell Hedstrom") + INCLUDE(CPack) \ No newline at end of file