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