source: pacpusframework/trunk/cmake/PacpusInstall.cmake@ 374

Last change on this file since 374 was 267, checked in by Marek Kurdej, 11 years ago

Minor: formatting.

  • Property svn:executable set to *
File size: 1.5 KB
RevLine 
[89]1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9
[185]10################################################################################
11# CMake
[89]12install(
[248]13 DIRECTORY ${PACPUS_CMAKE_DIR}
14 DESTINATION ${PACPUS_INSTALL_DIR}
[267]15 PATTERN "in" EXCLUDE
[89]16)
[251]17configure_file("${PACPUS_CMAKE_DIR}/in/${PROJECT_NAME}Config.cmake.in" "${CMAKE_BINARY_DIR}/${PROJECT_NAME}Config.cmake" @ONLY)
18install(
19 FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}Config.cmake
20 DESTINATION ${PACPUS_INSTALL_DIR}
21)
[89]22
[185]23################################################################################
24# INCLUDES
[89]25install(
26 DIRECTORY
27 ${PACPUS_INCLUDE_DIR}
28 DESTINATION
[187]29 ${PACPUS_INSTALL_DIR}
[89]30)
31
[185]32################################################################################
[89]33# Installation of the 3rd party
34if(PACPUS_INSTALL_3RD)
35 install(
36 DIRECTORY
37 ${PACPUS_3RD_PARTY_DIR}
38 DESTINATION
39 ${PACPUS_INSTALL_DIR}
40 )
41endif()
42
[185]43################################################################################
[89]44# Installation of the documentation
45if(PACPUS_BUILD_DOC)
46 install(
47 DIRECTORY
48 ${CMAKE_BINARY_DIR}/doc/html
49 DESTINATION
50 ${PACPUS_INSTALL_DIR}/doc
51 )
[185]52endif()
Note: See TracBrowser for help on using the repository browser.