2 # Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/)
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.
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.
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.
18 add_subdirectory(base)
20 add_subdirectory(config)
21 add_subdirectory(remote)
22 add_subdirectory(icinga)
23 add_subdirectory(methods)
25 if(ICINGA2_WITH_HELLO)
26 add_subdirectory(hello)
29 if(ICINGA2_WITH_CHECKER)
30 add_subdirectory(checker)
33 if(ICINGA2_WITH_COMPAT)
34 add_subdirectory(compat)
37 if(ICINGA2_WITH_MYSQL OR ICINGA2_WITH_PGSQL)
38 add_subdirectory(db_ido)
41 if(ICINGA2_WITH_MYSQL)
42 add_subdirectory(db_ido_mysql)
45 if(ICINGA2_WITH_PGSQL)
46 add_subdirectory(db_ido_pgsql)
50 add_subdirectory(demo)
53 if(ICINGA2_WITH_LIVESTATUS)
54 add_subdirectory(livestatus)
57 if(ICINGA2_WITH_NOTIFICATION)
58 add_subdirectory(notification)
61 if(ICINGA2_WITH_PERFDATA)
62 add_subdirectory(perfdata)
65 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)