diff --git a/CMakeLists.txt b/CMakeLists.txt index d0fcf200..ccf92e95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,7 @@ file(GLOB_RECURSE MCPP_SOURCE_FILES ${MCPP_SRC_DIR}/*.cpp) # Library build add_library(${PROJECT_NAME} SHARED ${MCPP_INCLUDE_FILES} ${MCPP_SOURCE_FILES}) + set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${MCPP_INCLUDE_FILES}" @@ -38,5 +39,6 @@ install(TARGETS ${PROJECT_NAME} PUBLIC_HEADER DESTINATION include/${PROJECT_NAME} ) - - +SET(CPACK_GENERATOR "DEB") +SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "ROZUKKE") +INCLUDE(CPack) \ No newline at end of file diff --git a/include/mcpp/connection.h b/include/mcpp/connection.h index d332b4f2..27bbd9d2 100644 --- a/include/mcpp/connection.h +++ b/include/mcpp/connection.h @@ -24,8 +24,8 @@ class SocketConnection { /** * Takes in parameters supporting std::stringstream conversion and a string - * prefix and transforms them into format "prefix(arg1,arg2,arg3)\n" (e.g. - * "chat.post(test)\n") and sends command to the server. + * prefix and transforms them into format "prefix(arg1,arg2,arg3)" e.g. + * "chat.post(test)" and sends command to the server. * * @tparam Types * @param prefix