]> granicus.if.org Git - icinga2/blob - lib/CMakeLists.txt
Create certificate backups in 'node setup'
[icinga2] / lib / CMakeLists.txt
1 # Icinga 2
2 # Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org)
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation
16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
17
18 add_subdirectory(base)
19 add_subdirectory(cli)
20 add_subdirectory(config)
21 add_subdirectory(remote)
22 add_subdirectory(icinga)
23 add_subdirectory(methods)
24
25 if(ICINGA2_WITH_HELLO)
26   add_subdirectory(hello)
27 endif()
28
29 if(ICINGA2_WITH_CHECKER)
30   add_subdirectory(checker)
31 endif()
32
33 if(ICINGA2_WITH_COMPAT)
34   add_subdirectory(compat)
35 endif()
36
37 if(ICINGA2_WITH_MYSQL OR ICINGA2_WITH_PGSQL)
38   add_subdirectory(db_ido)
39 endif()
40
41 if(ICINGA2_WITH_MYSQL)
42   add_subdirectory(db_ido_mysql)
43 endif()
44
45 if(ICINGA2_WITH_PGSQL)
46   add_subdirectory(db_ido_pgsql)
47 endif()
48
49 if(ICINGA2_WITH_DEMO)
50   add_subdirectory(demo)
51 endif()
52
53 if(ICINGA2_WITH_LIVESTATUS)
54   add_subdirectory(livestatus)
55 endif()
56
57 if(ICINGA2_WITH_NOTIFICATION)
58   add_subdirectory(notification)
59 endif()
60
61 if(ICINGA2_WITH_PERFDATA)
62   add_subdirectory(perfdata)
63 endif()
64
65 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)