From f9872723efc831827d179c3baf5b9f6c428512c4 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Thu, 22 Oct 2020 12:08:34 +0200 Subject: [BUILD] add CMake targets to build binary and source packages with CPack This patch adds the following CMake targets - package - source to build bundeled packages. Those packages contain either all built binary artifacts or all source files for source code distribution. Both CMake targets are available in Release build configuration. --- src/client/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/CMakeLists.txt') diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 4cc1212..c219740 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -11,4 +11,5 @@ add_definitions(-D_GNU_SOURCE) add_executable(dnbd3-client ${CMAKE_CURRENT_SOURCE_DIR}/client.c) target_link_libraries(dnbd3-client dnbd3-version dnbd3-shared) -install(TARGETS dnbd3-client RUNTIME DESTINATION bin) +install(TARGETS dnbd3-client RUNTIME DESTINATION bin + COMPONENT kernel) -- cgit v1.2.3-55-g7522