2015-03-26 07:36:38 +03:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
project(CPackComponentsPrefix NONE)
|
|
|
|
|
|
|
|
install(FILES file-runtime.txt
|
|
|
|
DESTINATION bin COMPONENT Runtime)
|
|
|
|
install(FILES file-development.txt
|
|
|
|
DESTINATION lib COMPONENT Development)
|
|
|
|
|
2015-05-09 01:42:30 +03:00
|
|
|
set(CPACK_PACKAGE_CONTACT "None") # mandatory for DEB generator
|
2015-03-26 07:36:38 +03:00
|
|
|
set(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY 1)
|
|
|
|
set(CPACK_COMPONENTS_ALL Development)
|
|
|
|
set(CPACK_ARCHIVE_COMPONENT_INSTALL 1)
|
|
|
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/My-1.0")
|
|
|
|
include(CPack)
|