added install target to CMake

This commit is contained in:
Steffen Vogel 2017-12-20 08:05:41 +01:00
parent 7d52ae6665
commit d310c9a4b7

View file

@ -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 <post@steffenvogel.de>")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "netem measures and emulates network delay distributions using the NetEm queuing discipline")