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

Last change on this file since 28 was 28, checked in by sgosseli, 11 years ago

Major: to avoid names collision with other libraries, we should include 'Pacpus/kernel/file.h' instead of 'kernel/file.h'
To work-around this patch, if you use old stuff, you can add in your cmake: include_directories(${PACPUS_INCLUDE_DIR}/Pacpus)

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