All: Add CPack variables

This commit is contained in:
Jeffrey Pfau 2014-12-06 19:25:13 -08:00
parent 5a9cf99249
commit 9a61475229
1 changed files with 10 additions and 0 deletions

View File

@ -210,6 +210,16 @@ if(BUILD_PERF)
install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}")
endif()
# Packaging
set(CPACK_PACKAGE_VERSION_MAJOR ${LIB_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${LIB_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${LIB_VERSION_PATCH})
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
set(CPACK_STRIP_FILES ${BINARY_NAME})
include(CPack)
# Summaries
message(STATUS "Feature summary:")
message(STATUS " CLI debugger: ${USE_CLI_DEBUGGER}")