1 cmake_minimum_required(VERSION 3.10.2)
2 # remove cmake/modules/FindPython* once 3.12 is required
18 cmake_policy(SET ${policy} NEW)
22 list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
24 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
27 elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
30 endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
33 # The Windows headers (e.g. coming from mingw or the Windows SDK) check
34 # the targeted Windows version. The availability of certain functions and
35 # structures will depend on it.
36 set(WIN32_WINNT "0x0A00" CACHE STRING "Targeted Windows version.")
37 add_definitions(-D_WIN32_WINNT=${WIN32_WINNT})
41 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-allow-multiple-definition")
42 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-allow-multiple-definition")
45 option(WITH_CCACHE "Build with ccache.")
47 find_program(CCACHE_FOUND ccache)
49 message(FATAL_ERROR "Can't find ccache. Is it installed?")
51 message(STATUS "Building with ccache: ${CCACHE_FOUND}, CCACHE_DIR=$ENV{CCACHE_DIR}")
52 set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
53 # ccache does not accelerate link (ld), but let it handle it. by passing it
54 # along with cc to python's distutils, we are able to workaround
55 # https://bugs.python.org/issue8027.
56 set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
59 option(WITH_MANPAGE "Build man pages." ON)
61 find_program(SPHINX_BUILD
62 NAMES sphinx-build sphinx-build-3)
64 message(FATAL_ERROR "Can't find sphinx-build.")
65 endif(NOT SPHINX_BUILD)
69 ${PROJECT_BINARY_DIR}/src/include
70 ${PROJECT_SOURCE_DIR}/src)
73 include_directories(SYSTEM ${OFED_PREFIX}/include)
74 link_directories(${OFED_PREFIX}/lib)
78 include_directories(SYSTEM /usr/local/include)
79 link_directories(/usr/local/lib)
80 list(APPEND CMAKE_REQUIRED_INCLUDES /usr/local/include)
84 #put all the libs and binaries in one place
85 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
86 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
87 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
91 set(CEPH_MAN_DIR "share/man" CACHE STRING "Install location for man pages (relative to prefix).")
93 option(ENABLE_SHARED "build shared libraries" ON)
95 set(CEPH_SHARED SHARED)
97 set(CEPH_SHARED STATIC)
99 set(CMAKE_POSITION_INDEPENDENT_CODE ${ENABLE_SHARED})
101 option(WITH_STATIC_LIBSTDCXX "Link against libstdc++ statically" OFF)
102 if(WITH_STATIC_LIBSTDCXX)
103 if(NOT CMAKE_COMPILER_IS_GNUCXX)
104 message(FATAL_ERROR "Please use GCC to enable WITH_STATIC_LIBSTDCXX")
106 set(static_linker_flags "-static-libstdc++ -static-libgcc")
107 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${static_linker_flags}")
108 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${static_linker_flags}")
109 unset(static_linker_flags)
110 set(GPERFTOOLS_USE_STATIC_LIBS TRUE)
112 include(CheckCxxAtomic)
113 if(NOT HAVE_CXX11_ATOMIC)
114 set(CMAKE_CXX_STANDARD_LIBRARIES
115 "${CMAKE_CXX_STANDARD_LIBRARIES} ${LIBATOMIC_LINK_FLAGS}")
118 option(WITH_RDMA "Enable RDMA in async messenger" ON)
120 find_package(verbs REQUIRED)
121 set(HAVE_VERBS ${VERBS_FOUND})
122 find_package(rdmacm REQUIRED)
123 set(HAVE_RDMACM ${RDMACM_FOUND})
127 find_package(Backtrace)
129 option(WITH_RBD "Enable RADOS Block Device related targets" ON)
132 find_package(udev REQUIRED)
133 set(HAVE_UDEV ${UDEV_FOUND})
134 find_package(blkid REQUIRED)
135 set(HAVE_BLKID ${BLKID_FOUND})
136 find_package(keyutils REQUIRED)
137 set(HAVE_KEYUTILS ${KEYUTILS_FOUND})
142 set(HAVE_KEYUTILS OFF)
148 option(WITH_OPENLDAP "OPENLDAP is here" ON)
150 find_package(OpenLdap REQUIRED)
151 set(HAVE_OPENLDAP ${OPENLDAP_FOUND})
154 option(WITH_GSSAPI "GSSAPI/KRB5 is here" OFF)
156 find_package(GSSApi REQUIRED)
157 set(HAVE_GSSAPI ${GSSApi_FOUND})
160 option(WITH_FUSE "Fuse is here" ON)
163 set(HAVE_LIBFUSE ${FUSE_FOUND})
166 option(WITH_XFS "XFS is here" ON)
169 set(HAVE_LIBXFS ${XFS_FOUND})
172 option(WITH_ZFS "enable LibZFS if found" OFF)
175 set(HAVE_LIBZFS ${ZFS_FOUND})
178 option(WITH_BLUESTORE "Bluestore OSD backend" ON)
182 set(HAVE_LIBAIO ${AIO_FOUND})
184 # POSIX AIO is integrated into FreeBSD kernel, and exposed by libc.
185 set(HAVE_POSIXAIO ON)
189 include(CMakeDependentOption)
190 CMAKE_DEPENDENT_OPTION(WITH_LIBURING "Build with liburing library support" OFF
191 "WITH_BLUESTORE;HAVE_LIBAIO" OFF)
192 set(HAVE_LIBURING ${WITH_LIBURING})
194 CMAKE_DEPENDENT_OPTION(WITH_BLUESTORE_PMEM "Enable PMDK libraries" OFF
195 "WITH_BLUESTORE" OFF)
197 CMAKE_DEPENDENT_OPTION(WITH_RBD_RWL "Enable librbd persistent write back cache" OFF
200 CMAKE_DEPENDENT_OPTION(WITH_SYSTEM_PMDK "Require and build with system PMDK" OFF
201 "WITH_RBD_RWL OR WITH_BLUESTORE_PMEM" OFF)
203 if(WITH_BLUESTORE_PMEM)
204 set(HAVE_BLUESTORE_PMEM ON)
207 CMAKE_DEPENDENT_OPTION(WITH_SPDK "Enable SPDK" OFF
208 "CMAKE_SYSTEM_PROCESSOR MATCHES i386|i686|amd64|x86_64|AMD64|aarch64" OFF)
210 if(NOT WITH_BLUESTORE)
211 message(SEND_ERROR "Please enable WITH_BLUESTORE for using SPDK")
219 if(NOT AIO_FOUND AND NOT HAVE_POSIXAIO AND NOT WITH_SPDK AND NOT WITH_BLUESTORE_PMEM)
220 message(SEND_ERROR "WITH_BLUESTORE is ON, "
221 "but none of the bluestore backends is enabled. "
222 "Please install libaio, or enable WITH_SPDK or WITH_BLUESTORE_PMEM (experimental)")
226 option(WITH_BLUEFS "libbluefs library" OFF)
228 option(WITH_QATZIP "Enable QATZIP" OFF)
230 find_package(qatzip REQUIRED)
231 set(HAVE_QATZIP ${QATZIP_FOUND})
235 option(WITH_LIBCEPHFS "libcephfs client library" ON)
238 option(WITH_KVS "Key value store is here" ON)
240 option(WITH_KRBD "Enable Linux krbd support of 'rbd' utility" ON)
242 if(WITH_KRBD AND NOT WITH_RBD)
243 message(FATAL_ERROR "Cannot have WITH_KRBD without WITH_RBD.")
246 if(WITH_LIBCEPHFS OR WITH_KRBD)
247 # keyutils is only used when talking to the Linux Kernel key store
248 find_package(keyutils REQUIRED)
249 set(HAVE_KEYUTILS ${KEYUTILS_FOUND})
253 option(WITH_LEVELDB "LevelDB is here" ON)
256 include_directories(SYSTEM ${LEVELDB_PREFIX}/include)
257 link_directories(${LEVELDB_PREFIX}/lib)
259 find_package(leveldb REQUIRED)
260 find_file(HAVE_LEVELDB_FILTER_POLICY leveldb/filter_policy.h PATHS ${LEVELDB_INCLUDE_DIR})
263 find_package(snappy REQUIRED)
265 option(WITH_BROTLI "Brotli compression support" OFF)
267 set(HAVE_BROTLI TRUE)
270 option(WITH_LZ4 "LZ4 compression support" ON)
272 find_package(LZ4 1.7 REQUIRED)
273 set(HAVE_LZ4 ${LZ4_FOUND})
276 option(WITH_CEPH_DEBUG_MUTEX "Use debug ceph::mutex with lockdep" OFF)
278 #if allocator is set on command line make sure it matches below strings
279 set(ALLOCATOR "" CACHE STRING
280 "specify memory allocator to use. currently tcmalloc, tcmalloc_minimal, \
281 jemalloc, and libc is supported. if not specified, will try to find tcmalloc, \
282 and then jemalloc. If neither of then is found. use the one in libc.")
284 if(${ALLOCATOR} MATCHES "tcmalloc(_minimal)?")
285 find_package(gperftools REQUIRED)
286 set(HAVE_LIBTCMALLOC ON)
287 elseif(${ALLOCATOR} STREQUAL "jemalloc")
288 find_package(JeMalloc REQUIRED)
290 elseif(NOT ALLOCATOR STREQUAL "libc")
291 message(FATAL_ERROR "Unsupported allocator selected: ${ALLOCATOR}")
294 find_package(gperftools)
295 set(HAVE_LIBTCMALLOC ${gperftools_FOUND})
296 if(NOT gperftools_FOUND)
297 find_package(JeMalloc)
300 set(ALLOCATOR tcmalloc)
301 elseif(JeMalloc_FOUND)
302 set(ALLOCATOR jemalloc)
305 # FreeBSD already has jemalloc as its default allocator
306 message(WARNING "tcmalloc and jemalloc not found, falling back to libc")
308 set(ALLOCATOR "libc")
309 endif(gperftools_FOUND)
312 if(HAVE_LIBTCMALLOC AND WITH_STATIC_LIBSTDCXX)
313 set(EXE_LINKER_USE_PIE FALSE)
315 set(EXE_LINKER_USE_PIE ${ENABLE_SHARED})
318 if (HAVE_LIBTCMALLOC AND TCMALLOC_VERSION_STRING VERSION_LESS 2.6.2)
319 set(LIBTCMALLOC_MISSING_ALIGNED_ALLOC ON)
322 find_package(CURL REQUIRED)
323 set(CMAKE_REQUIRED_INCLUDES ${CURL_INCLUDE_DIRS})
324 set(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBRARIES})
325 CHECK_SYMBOL_EXISTS(curl_multi_wait curl/curl.h HAVE_CURL_MULTI_WAIT)
327 find_package(OpenSSL REQUIRED)
328 set(CRYPTO_LIBS OpenSSL::Crypto)
330 option(WITH_DPDK "Enable DPDK messaging" OFF)
335 build_dpdk(${CMAKE_BINARY_DIR}/src/dpdk)
340 option(WITH_BLKIN "Use blkin to emit LTTng tracepoints for Zipkin" OFF)
342 set(BLKIN_LIBRARIES blkin ${LTTNGUST_LIBRARIES} lttng-ust-fork)
343 include_directories(SYSTEM src/blkin/blkin-lib)
346 option(WITH_BOOST_CONTEXT "Enable boost::asio stackful coroutines" ON)
347 if(WITH_BOOST_CONTEXT)
348 set(HAVE_BOOST_CONTEXT ON)
352 option(WITH_RADOSGW "Rados Gateway is enabled" ON)
353 option(WITH_RADOSGW_FCGI_FRONTEND "Rados Gateway's FCGI frontend is enabled" OFF)
354 option(WITH_RADOSGW_BEAST_FRONTEND "Rados Gateway's Beast frontend is enabled" ON)
355 option(WITH_RADOSGW_BEAST_OPENSSL "Rados Gateway's Beast frontend uses OpenSSL" ON)
356 option(WITH_RADOSGW_AMQP_ENDPOINT "Rados Gateway's pubsub support for AMQP push endpoint" ON)
357 option(WITH_RADOSGW_KAFKA_ENDPOINT "Rados Gateway's pubsub support for Kafka push endpoint" ON)
360 find_package(EXPAT REQUIRED)
361 if(WITH_RADOSGW_FCGI_FRONTEND)
362 find_package(fcgi REQUIRED)
364 if(WITH_RADOSGW_BEAST_FRONTEND AND NOT WITH_BOOST_CONTEXT)
365 message(WARNING "disabling WITH_RADOSGW_BEAST_FRONTEND, which depends on WITH_BOOST_CONTEXT")
366 set(WITH_RADOSGW_BEAST_FRONTEND OFF)
368 find_package(OATH REQUIRED)
370 # https://curl.haxx.se/docs/install.html mentions the
371 # configure flags for various ssl backends
375 "curl-config --configure | grep with-ssl"
376 RESULT_VARIABLE NO_CURL_SSL_LINK
377 ERROR_VARIABLE CURL_CONFIG_ERRORS
379 if (CURL_CONFIG_ERRORS)
380 message(WARNING "unable to run curl-config; rgw cannot make ssl requests to external systems reliably")
383 if (NOT NO_CURL_SSL_LINK)
384 message(STATUS "libcurl is linked with openssl: explicitly setting locks")
385 set(WITH_CURL_OPENSSL ON)
386 endif() # CURL_SSL_LINK
390 "objdump -p ${OPENSSL_SSL_LIBRARY} | sed -n 's/^ SONAME *//p'"
391 OUTPUT_VARIABLE LIBSSL_SONAME
392 ERROR_VARIABLE OBJDUMP_ERRORS
393 RESULT_VARIABLE OBJDUMP_RESULTS
394 OUTPUT_STRIP_TRAILING_WHITESPACE)
396 message(FATAL_ERROR "can't run objdump: ${OBJDUMP_RESULTS}")
398 if (NOT OBJDUMP_ERRORS STREQUAL "")
399 message(WARNING "message from objdump: ${OBJDUMP_ERRORS}")
404 "objdump -p ${OPENSSL_CRYPTO_LIBRARY} | sed -n 's/^ SONAME *//p'"
405 OUTPUT_VARIABLE LIBCRYPTO_SONAME
406 ERROR_VARIABLE OBJDUMP_ERRORS
407 RESULT_VARIABLE OBJDUMP_RESULTS
408 OUTPUT_STRIP_TRAILING_WHITESPACE)
410 message(FATAL_ERROR "can't run objdump: ${OBJDUMP_RESULTS}")
412 if (NOT OBJDUMP_ERRORS STREQUAL "")
413 message(WARNING "message from objdump: ${OBJDUMP_ERRORS}")
415 message(STATUS "ssl soname: ${LIBSSL_SONAME}")
416 message(STATUS "crypto soname: ${LIBCRYPTO_SONAME}")
420 option(WITH_CEPHFS "CephFS is enabled" ON)
422 # Please specify 3.[0-7] if you want to build with a certain version of python3.
423 set(WITH_PYTHON3 "3" CACHE STRING "build with specified python3 version")
425 message(FATAL_ERROR "WITH_PYTHON3 should always be enabled")
426 elseif(WITH_PYTHON3 MATCHES "^(1|ON|YES|TRUE|Y)$")
427 set(WITH_PYTHON3 "3")
428 message(NOTICE "Please specify a Python3 version instead of a BOOLEAN")
429 elseif(NOT WITH_PYTHON3 STREQUAL "3")
430 set(find_python3_exact "EXACT")
432 find_package(Python3 ${WITH_PYTHON3} ${find_python3_exact} REQUIRED
433 COMPONENTS Interpreter Development)
434 unset(find_python3_exact)
436 option(WITH_MGR "ceph-mgr is enabled" ON)
438 set(MGR_PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
439 set(MGR_PYTHON_LIBRARIES ${Python3_LIBRARIES})
440 set(MGR_PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR})
441 set(MGR_PYTHON_VERSION_MINOR ${Python3_VERSION_MINOR})
442 # Boost dependency check deferred to Boost section
445 option(WITH_THREAD_SAFE_RES_QUERY "res_query is thread safe" OFF)
446 if(WITH_THREAD_SAFE_RES_QUERY)
447 set(HAVE_THREAD_SAFE_RES_QUERY 1 CACHE INTERNAL "Thread safe res_query supported.")
450 option(WITH_REENTRANT_STRSIGNAL "strsignal is reentrant" OFF)
451 if(WITH_REENTRANT_STRSIGNAL)
452 set(HAVE_REENTRANT_STRSIGNAL 1 CACHE INTERNAL "Reentrant strsignal is supported.")
455 set(HAVE_LIBROCKSDB 1)
458 find_package(ZLIB REQUIRED)
460 #option for EventTrace
461 CMAKE_DEPENDENT_OPTION(
462 WITH_EVENTTRACE "Event tracing support, requires WITH_LTTNG"
466 option(WITH_LTTNG "LTTng tracing is enabled" ON)
468 find_package(LTTngUST REQUIRED)
469 find_program(LTTNG_GEN_TP
472 message(FATAL_ERROR "Can't find lttng-gen-tp.")
476 option(WITH_OSD_INSTRUMENT_FUNCTIONS OFF)
478 #option for Babeltrace
479 option(WITH_BABELTRACE "Babeltrace libraries are enabled" ON)
481 set(HAVE_BABELTRACE ON)
482 find_package(babeltrace REQUIRED)
483 set(HAVE_BABELTRACE_BABELTRACE_H ${BABELTRACE_FOUND})
484 set(HAVE_BABELTRACE_CTF_EVENTS_H ${BABELTRACE_FOUND})
485 set(HAVE_BABELTRACE_CTF_ITERATOR_H ${BABELTRACE_FOUND})
486 endif(WITH_BABELTRACE)
488 option(DEBUG_GATHER "C_Gather debugging is enabled" ON)
489 option(ENABLE_COVERAGE "Coverage is enabled" OFF)
490 option(PG_DEBUG_REFS "PG Ref debugging is enabled" OFF)
492 option(WITH_TESTS "enable the build of ceph-test package scripts/binaries" ON)
493 set(UNIT_TESTS_BUILT ${WITH_TESTS})
494 set(CEPH_TEST_TIMEOUT 3600 CACHE STRING
495 "Maximum time before a CTest gets killed" )
498 option(WITH_FIO "build with fio plugin enabled" OFF)
499 option(WITH_SYSTEM_FIO "require and build with system fio" OFF)
501 find_package(fio REQUIRED)
503 if (NOT FIO_INCLUDE_DIR)
504 # Use local external fio if include directory is not set
505 set(FIO_INCLUDE_DIR ${CMAKE_BINARY_DIR}/src/fio)
512 add_definitions(-D__linux__)
516 option(WITH_ASAN "build with ASAN" OFF)
518 list(APPEND sanitizers "address")
521 option(WITH_ASAN_LEAK "explicitly enable ASAN leak detection" OFF)
523 list(APPEND sanitizers "leak")
526 option(WITH_TSAN "build with TSAN" OFF)
528 list(APPEND sanitizers "thread")
531 option(WITH_UBSAN "build with UBSAN" OFF)
533 list(APPEND sanitizers "undefined_behavior")
537 find_package(Sanitizers REQUIRED ${sanitizers})
538 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
539 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
540 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
541 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
545 option(WITH_SYSTEM_ROCKSDB "require and build with system rocksdb" OFF)
546 if (WITH_SYSTEM_ROCKSDB)
547 find_package(RocksDB 5.14 REQUIRED)
550 option(WITH_SEASTAR "Build seastar components")
551 set(HAVE_SEASTAR ${WITH_SEASTAR})
554 option(WITH_SYSTEM_BOOST "require and build with system Boost" OFF)
556 # Boost::thread depends on Boost::atomic, so list it explicitly.
558 atomic chrono thread system regex random program_options date_time
560 set(BOOST_HEADER_COMPONENTS container)
563 list(APPEND BOOST_COMPONENTS
564 python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR})
566 if(WITH_BOOST_CONTEXT)
567 list(APPEND BOOST_COMPONENTS context coroutine)
570 list(APPEND BOOST_COMPONENTS filesystem timer)
573 set(Boost_USE_MULTITHREADED ON)
574 # require minimally the bundled version
575 if(WITH_SYSTEM_BOOST)
577 set(Boost_USE_STATIC_LIBS OFF)
579 set(Boost_USE_STATIC_LIBS ON)
581 if(BOOST_ROOT AND CMAKE_LIBRARY_ARCHITECTURE)
582 set(BOOST_LIBRARYDIR "${BOOST_ROOT}/lib/${CMAKE_LIBRARY_ARCHITECTURE}")
584 find_package(Boost 1.67 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
586 set(BOOST_J 1 CACHE STRING
587 "max jobs for Boost build") # override w/-DBOOST_J=<n>
588 set(Boost_USE_STATIC_LIBS ON)
591 COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS})
593 include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})
594 set(Boost_USE_MULTITHREADED ON)
596 # dashboard angular2 frontend
597 option(WITH_MGR_DASHBOARD_FRONTEND "Build the mgr/dashboard frontend using `npm`" ON)
598 option(WITH_SYSTEM_NPM "Assume that dashboard build tools already installed through packages" OFF)
600 find_program(NPM npm)
602 message(FATAL_ERROR "Can't find npm.")
605 set(DASHBOARD_FRONTEND_LANGS "" CACHE STRING
606 "List of comma separated ceph-dashboard frontend languages to build. \
607 Use value `ALL` to build all languages")
609 # TODO: make this an option and set it to the same value as WITH_MGR_DASHBOARD_FRONTEND
610 set(WITH_MGR_ROOK_CLIENT WITH_MGR_DASHBOARD_FRONTEND)
612 include_directories(SYSTEM ${PROJECT_BINARY_DIR}/include)
614 find_package(Threads REQUIRED)
615 find_package(StdFilesystem)
617 option(WITH_SELINUX "build SELinux policy" OFF)
619 find_file(SELINUX_MAKEFILE selinux/devel/Makefile
621 if(NOT SELINUX_MAKEFILE)
622 message(FATAL_ERROR "Can't find selinux's Makefile")
624 add_subdirectory(selinux)
627 # enables testing and creates Make check command
628 add_custom_target(tests
629 COMMENT "Building tests")
631 set(CMAKE_CTEST_COMMAND ctest)
632 add_custom_target(check
633 COMMAND ${CMAKE_CTEST_COMMAND}
636 add_subdirectory(src)
640 add_subdirectory(doc)
642 add_subdirectory(man)
645 option(WITH_SYSTEMD "install systemd target and service files" ON)
647 add_subdirectory(systemd)
651 add_subdirectory(etc/sysctl)
654 option(WITH_GRAFANA "install grafana dashboards" OFF)
656 add_subdirectory(monitoring/grafana/dashboards)
660 option(CTAG_EXCLUDES "Exclude files/directories when running ctag.")
664 EXCLUDE_OPTS ${CTAG_EXCLUDES}
665 EXCLUDES "*.js" "*.css")
666 add_custom_target(tags DEPENDS ctags)
668 find_package(CppCheck)