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