23 lines
824 B
CMake
23 lines
824 B
CMake
### Install ###
|
|
|
|
include(CMakePackageConfigHelpers)
|
|
|
|
#### library packaging for CMake and pkgconfig to find built targets.
|
|
#write_basic_package_version_file(
|
|
# ${PROJECT_NAME}Config.cmake
|
|
# VERSION ${PACKAGE_VERSION}
|
|
# COMPATIBILITY SameMajorVersion
|
|
#)
|
|
#write_basic_package_version_file(
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
|
# VERSION ${PROJECT_VERSION}
|
|
# COMPATIBILITY SameMajorVersion)
|
|
#configure_file(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
|
|
#
|
|
### set up installation targets.
|
|
|
|
install(TARGETS ${PROJECT_NAME}-packager RUNTIME DESTINATION bin)
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man DESTINATION share)
|
|
install(FILES ${SCRIPTS} DESTINATION share/sc/scripts)
|
|
install(FILES ${CONTAINERFILES} DESTINATION share/sc/containers)
|
|
install(FILES README.md LICENSE DESTINATION share/sc) |