From d310c9a4b70dd117d15694b9d8055f0e54934a83 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 20 Dec 2017 08:05:41 +0100 Subject: [PATCH] added install target to CMake --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f025bb6..ba8949e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,11 @@ target_include_directories(netem PUBLIC "/usr/include/libnl3") add_library(mark mark.c) +install(TARGETS netem mark + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib/static) + set(CPACK_PACKAGE_NAME "netem") set(CPACK_PACKAGE_CONTACT "Steffen Vogel ") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "netem measures and emulates network delay distributions using the NetEm queuing discipline")