Last change
on this file since 365 was 91, checked in by DHERBOMEZ Gérald, 11 years ago |
Improvement of the build system to avoid some workarounds
|
-
Property svn:keywords
set to
Id
|
File size:
1.3 KB
|
Line | |
---|
1 | #################################################
|
---|
2 | # ___________ ____ ______ __ __ _____ #
|
---|
3 | # \____ \__ \ _/ ___\\____ \| | \/ ___/ #
|
---|
4 | # | |_> > __ \\ \___| |_> > | /\___ \ #
|
---|
5 | # | __(____ /\___ > __/|____//____ > #
|
---|
6 | # |__| \/ \/|__| \/ #
|
---|
7 | # #
|
---|
8 | #################################################
|
---|
9 |
|
---|
10 | # ========================================
|
---|
11 | # CMake files
|
---|
12 | # ========================================
|
---|
13 | install(
|
---|
14 | DIRECTORY
|
---|
15 | ${PACPUS_CMAKE_DIR}
|
---|
16 | DESTINATION
|
---|
17 | ${PACPUS_INSTALL_DIR}
|
---|
18 | )
|
---|
19 |
|
---|
20 | # ========================================
|
---|
21 | # Include files
|
---|
22 | # ========================================
|
---|
23 | install(
|
---|
24 | DIRECTORY
|
---|
25 | ${PACPUS_INCLUDE_DIR}
|
---|
26 | DESTINATION
|
---|
27 | ${PACPUS_INSTALL_DIR}/include
|
---|
28 | )
|
---|
29 |
|
---|
30 | # ========================================
|
---|
31 | # Installation of the 3rd party
|
---|
32 | # ========================================
|
---|
33 | if(PACPUS_INSTALL_3RD)
|
---|
34 | if(WIN32)
|
---|
35 | install(
|
---|
36 | DIRECTORY
|
---|
37 | ${PACPUS_3RD_PARTY_DIR}
|
---|
38 | DESTINATION
|
---|
39 | ${PACPUS_INSTALL_DIR}
|
---|
40 | )
|
---|
41 | endif()
|
---|
42 | endif()
|
---|
43 |
|
---|
44 | # ========================================
|
---|
45 | # Installation of the documentation
|
---|
46 | # ========================================
|
---|
47 | if(PACPUS_BUILD_DOC)
|
---|
48 | install(
|
---|
49 | DIRECTORY
|
---|
50 | ${CMAKE_BINARY_DIR}/doc/html
|
---|
51 | DESTINATION
|
---|
52 | ${PACPUS_INSTALL_DIR}/doc
|
---|
53 | )
|
---|
54 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.