Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/deb packaging #72

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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)
4 changes: 2 additions & 2 deletions include/mcpp/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down