Skip to content

Commit

Permalink
Add basic CPack packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mszabo-wikia committed Aug 29, 2024
1 parent 8b8e959 commit ff5196c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

cmake_minimum_required(VERSION 3.19)

project(mcrouter)
project(mcrouter VERSION 1.0.0)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build/fbcode_builder/CMake"
${CMAKE_MODULE_PATH})
Expand Down Expand Up @@ -99,3 +99,11 @@ endif()
add_subdirectory(mcrouter)

install(TARGETS mcrouter mcpiper)

# Provide a basic CPack integration to allow easily creating packages for Linux
# distributions.
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY
"mcrouter - a memcached protocol router for scaling memcached deployments.")
set(CPACK_PACKAGE_VENDOR "Meta Platforms, Inc.")
set(CPACK_VERBATIM_VARIABLES ON)
include(CPack)

0 comments on commit ff5196c

Please sign in to comment.