Mercurial > hgweb.cgi > pecunia
changeset 193:46b88327bdb8 candidate
Adds basic CPack support to build a packages in Windows.
author | John Schneiderman <JohnMS@member.fsf.org> |
---|---|
date | Sun, 28 Feb 2021 11:40:31 +0100 |
parents | 0ace3e39c787 |
children | e25fc2ac9f8c |
files | src/CMakeLists.txt |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/CMakeLists.txt Sat Feb 27 17:53:42 2021 +0100 +++ b/src/CMakeLists.txt Sun Feb 28 11:40:31 2021 +0100 @@ -20,6 +20,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project( pecunia + DESCRIPTION ${Pecunia_DESCRIPTION} VERSION ${Pecunia_VERSION} LANGUAGES CXX ) @@ -160,3 +161,9 @@ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake ) endif() + +set(CPACK_PACKAGE_VENDOR "John M. Schneiderman") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${Pecunia_DESCRIPTION}) +set(CPACK_PACKAGE_INSTALL_DIRECTORY "Pecunia") +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") +include(CPack)