1 cmake_minimum_required(VERSION 3.10.2)
2 # remove cmake/modules/FindPython* once 3.12 is required
19 cmake_policy(SET ${policy} NEW)
23 list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
25 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
28 elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
31 endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
34 # The Windows headers (e.g. coming from mingw or the Windows SDK) check
35 # the targeted Windows version. The availability of certain functions and
36 # structures will depend on it.
37 set(WIN32_WINNT "0x0A00" CACHE STRING "Targeted Windows version.")
38 add_definitions(-D_WIN32_WINNT=${WIN32_WINNT})
42 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-allow-multiple-definition")
43 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-allow-multiple-definition")
46 option(WITH_CCACHE "Build with ccache.")
48 find_program(CCACHE_FOUND ccache)
50 message(FATAL_ERROR "Can't find ccache. Is it installed?")
52 message(STATUS "Building with ccache: ${CCACHE_FOUND}, CCACHE_DIR=$ENV{CCACHE_DIR}")
53 set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
54 # ccache does not accelerate link (ld), but let it handle it. by passing it
55 # along with cc to python's distutils, we are able to workaround
56 # https://bugs.python.org/issue8027.
57 set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
60 option(WITH_MANPAGE "Build man pages." ON)
62 find_program(SPHINX_BUILD
63 NAMES sphinx-build sphinx-build-3)
65 message(FATAL_ERROR "Can't find sphinx-build.")
66 endif(NOT SPHINX_BUILD)
70 ${PROJECT_BINARY_DIR}/src/include
71 ${PROJECT_SOURCE_DIR}/src)
74 include_directories(SYSTEM ${OFED_PREFIX}/include)
75 link_directories(${OFED_PREFIX}/lib)
79 include_directories(SYSTEM /usr/local/include)
80 link_directories(/usr/local/lib)
81 list(APPEND CMAKE_REQUIRED_INCLUDES /usr/local/include)
85 #put all the libs and binaries in one place
86 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
87 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
88 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
92 set(CEPH_MAN_DIR "share/man" CACHE STRING "Install location for man pages (relative to prefix).")
94 option(ENABLE_SHARED "build shared libraries" ON)
96 set(CEPH_SHARED SHARED)
98 set(CEPH_SHARED STATIC)
100 set(CMAKE_POSITION_INDEPENDENT_CODE ${ENABLE_SHARED})
102 option(WITH_STATIC_LIBSTDCXX "Link against libstdc++ statically" OFF)
103 if(WITH_STATIC_LIBSTDCXX)
104 if(NOT CMAKE_COMPILER_IS_GNUCXX)
105 message(FATAL_ERROR "Please use GCC to enable WITH_STATIC_LIBSTDCXX")
107 set(static_linker_flags "-static-libstdc++ -static-libgcc")
108 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${static_linker_flags}")
109 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${static_linker_flags}")
110 unset(static_linker_flags)
111 set(GPERFTOOLS_USE_STATIC_LIBS TRUE)
113 include(CheckCxxAtomic)
114 if(NOT HAVE_CXX11_ATOMIC)
115 set(CMAKE_CXX_STANDARD_LIBRARIES
116 "${CMAKE_CXX_STANDARD_LIBRARIES} ${LIBATOMIC_LINK_FLAGS}")
119 option(WITH_RDMA "Enable RDMA in async messenger" ON)
121 find_package(verbs REQUIRED)
122 set(HAVE_VERBS ${VERBS_FOUND})
123 find_package(rdmacm REQUIRED)
124 set(HAVE_RDMACM ${RDMACM_FOUND})
128 find_package(Backtrace)
130 option(WITH_RBD "Enable RADOS Block Device related targets" ON)
133 find_package(udev REQUIRED)
134 set(HAVE_UDEV ${UDEV_FOUND})
135 find_package(blkid REQUIRED)
136 set(HAVE_BLKID ${BLKID_FOUND})
137 find_package(keyutils REQUIRED)
138 set(HAVE_KEYUTILS ${KEYUTILS_FOUND})
143 set(HAVE_KEYUTILS OFF)
149 option(WITH_OPENLDAP "OPENLDAP is here" ON)
151 find_package(OpenLdap REQUIRED)
152 set(HAVE_OPENLDAP ${OPENLDAP_FOUND})
155 option(WITH_GSSAPI "GSSAPI/KRB5 is here" OFF)
157 find_package(GSSApi REQUIRED)
158 set(HAVE_GSSAPI ${GSSApi_FOUND})
161 option(WITH_FUSE "Fuse is here" ON)
164 set(HAVE_LIBFUSE ${FUSE_FOUND})
167 option(WITH_XFS "XFS is here" ON)
170 set(HAVE_LIBXFS ${XFS_FOUND})
173 option(WITH_ZFS "enable LibZFS if found" OFF)
176 set(HAVE_LIBZFS ${ZFS_FOUND})
179 option(WITH_BLUESTORE "Bluestore OSD backend" ON)
183 set(HAVE_LIBAIO ${AIO_FOUND})
185 # POSIX AIO is integrated into FreeBSD kernel, and exposed by libc.
186 set(HAVE_POSIXAIO ON)
190 include(CMakeDependentOption)
191 CMAKE_DEPENDENT_OPTION(WITH_LIBURING "Build with liburing library support" OFF
192 "WITH_BLUESTORE;HAVE_LIBAIO" OFF)
193 set(HAVE_LIBURING ${WITH_LIBURING})
195 CMAKE_DEPENDENT_OPTION(WITH_BLUESTORE_PMEM "Enable PMDK libraries" OFF
196 "WITH_BLUESTORE" OFF)
198 CMAKE_DEPENDENT_OPTION(WITH_RBD_RWL "Enable librbd persistent write back cache" OFF
201 CMAKE_DEPENDENT_OPTION(WITH_SYSTEM_PMDK "Require and build with system PMDK" OFF
202 "WITH_RBD_RWL OR WITH_BLUESTORE_PMEM" OFF)
204 if(WITH_BLUESTORE_PMEM)
205 set(HAVE_BLUESTORE_PMEM ON)
208 CMAKE_DEPENDENT_OPTION(WITH_SPDK "Enable SPDK" OFF
209 "CMAKE_SYSTEM_PROCESSOR MATCHES i386|i686|amd64|x86_64|AMD64|aarch64" OFF)
211 if(NOT WITH_BLUESTORE)
212 message(SEND_ERROR "Please enable WITH_BLUESTORE for using SPDK")
220 if(NOT AIO_FOUND AND NOT HAVE_POSIXAIO AND NOT WITH_SPDK AND NOT WITH_BLUESTORE_PMEM)
221 message(SEND_ERROR "WITH_BLUESTORE is ON, "
222 "but none of the bluestore backends is enabled. "
223 "Please install libaio, or enable WITH_SPDK or WITH_BLUESTORE_PMEM (experimental)")
227 option(WITH_BLUEFS "libbluefs library" OFF)
229 option(WITH_QATZIP "Enable QATZIP" OFF)
231 find_package(qatzip REQUIRED)
232 set(HAVE_QATZIP ${QATZIP_FOUND})
236 option(WITH_LIBCEPHFS "libcephfs client library" ON)
239 option(WITH_KVS "Key value store is here" ON)
241 option(WITH_KRBD "Enable Linux krbd support of 'rbd' utility" ON)
243 if(WITH_KRBD AND NOT WITH_RBD)
244 message(FATAL_ERROR "Cannot have WITH_KRBD without WITH_RBD.")
247 if(WITH_LIBCEPHFS OR WITH_KRBD)
248 # keyutils is only used when talking to the Linux Kernel key store
249 find_package(keyutils REQUIRED)
250 set(HAVE_KEYUTILS ${KEYUTILS_FOUND})
254 option(WITH_LEVELDB "LevelDB is here" ON)
257 include_directories(SYSTEM ${LEVELDB_PREFIX}/include)
258 link_directories(${LEVELDB_PREFIX}/lib)
260 find_package(leveldb REQUIRED)
261 find_file(HAVE_LEVELDB_FILTER_POLICY leveldb/filter_policy.h PATHS ${LEVELDB_INCLUDE_DIR})
264 find_package(snappy REQUIRED)
266 option(WITH_BROTLI "Brotli compression support" OFF)
268 set(HAVE_BROTLI TRUE)
271 option(WITH_LZ4 "LZ4 compression support" ON)
273 find_package(LZ4 1.7 REQUIRED)
274 set(HAVE_LZ4 ${LZ4_FOUND})
277 option(WITH_CEPH_DEBUG_MUTEX "Use debug ceph::mutex with lockdep" OFF)
279 #if allocator is set on command line make sure it matches below strings
280 set(ALLOCATOR "" CACHE STRING
281 "specify memory allocator to use. currently tcmalloc, tcmalloc_minimal, \
282 jemalloc, and libc is supported. if not specified, will try to find tcmalloc, \
283 and then jemalloc. If neither of then is found. use the one in libc.")
285 if(${ALLOCATOR} MATCHES "tcmalloc(_minimal)?")
286 find_package(gperftools REQUIRED)
287 set(HAVE_LIBTCMALLOC ON)
288 elseif(${ALLOCATOR} STREQUAL "jemalloc")
289 find_package(JeMalloc REQUIRED)
291 elseif(NOT ALLOCATOR STREQUAL "libc")
292 message(FATAL_ERROR "Unsupported allocator selected: ${ALLOCATOR}")
295 find_package(gperftools)
296 set(HAVE_LIBTCMALLOC ${gperftools_FOUND})
297 if(NOT gperftools_FOUND)
298 find_package(JeMalloc)
301 set(ALLOCATOR tcmalloc)
302 elseif(JeMalloc_FOUND)
303 set(ALLOCATOR jemalloc)
306 # FreeBSD already has jemalloc as its default allocator
307 message(WARNING "tcmalloc and jemalloc not found, falling back to libc")
309 set(ALLOCATOR "libc")
310 endif(gperftools_FOUND)
313 if(HAVE_LIBTCMALLOC AND WITH_STATIC_LIBSTDCXX)
314 set(EXE_LINKER_USE_PIE FALSE)
316 set(EXE_LINKER_USE_PIE ${ENABLE_SHARED})
319 if (HAVE_LIBTCMALLOC AND TCMALLOC_VERSION_STRING VERSION_LESS 2.6.2)
320 set(LIBTCMALLOC_MISSING_ALIGNED_ALLOC ON)
323 find_package(CURL REQUIRED)
324 set(CMAKE_REQUIRED_INCLUDES ${CURL_INCLUDE_DIRS})
325 set(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBRARIES})
326 CHECK_SYMBOL_EXISTS(curl_multi_wait curl/curl.h HAVE_CURL_MULTI_WAIT)
328 find_package(OpenSSL REQUIRED)
329 set(CRYPTO_LIBS OpenSSL::Crypto)
331 option(WITH_DPDK "Enable DPDK messaging" OFF)
336 build_dpdk(${CMAKE_BINARY_DIR}/src/dpdk)
341 option(WITH_BLKIN "Use blkin to emit LTTng tracepoints for Zipkin" OFF)
343 set(BLKIN_LIBRARIES blkin ${LTTNGUST_LIBRARIES} lttng-ust-fork)
344 include_directories(SYSTEM src/blkin/blkin-lib)
347 option(WITH_BOOST_CONTEXT "Enable boost::asio stackful coroutines" ON)
348 if(WITH_BOOST_CONTEXT)
349 set(HAVE_BOOST_CONTEXT ON)
353 option(WITH_RADOSGW "Rados Gateway is enabled" ON)
354 option(WITH_RADOSGW_FCGI_FRONTEND "Rados Gateway's FCGI frontend is enabled" OFF)
355 option(WITH_RADOSGW_BEAST_FRONTEND "Rados Gateway's Beast frontend is enabled" ON)
356 option(WITH_RADOSGW_BEAST_OPENSSL "Rados Gateway's Beast frontend uses OpenSSL" ON)
357 option(WITH_RADOSGW_AMQP_ENDPOINT "Rados Gateway's pubsub support for AMQP push endpoint" ON)
358 option(WITH_RADOSGW_KAFKA_ENDPOINT "Rados Gateway's pubsub support for Kafka push endpoint" ON)
361 find_package(EXPAT REQUIRED)
362 if(WITH_RADOSGW_FCGI_FRONTEND)
363 find_package(fcgi REQUIRED)
365 if(WITH_RADOSGW_BEAST_FRONTEND AND NOT WITH_BOOST_CONTEXT)
366 message(WARNING "disabling WITH_RADOSGW_BEAST_FRONTEND, which depends on WITH_BOOST_CONTEXT")
367 set(WITH_RADOSGW_BEAST_FRONTEND OFF)
369 find_package(OATH REQUIRED)
371 # https://curl.haxx.se/docs/install.html mentions the
372 # configure flags for various ssl backends
376 "curl-config --configure | grep with-ssl"
377 RESULT_VARIABLE NO_CURL_SSL_LINK
378 ERROR_VARIABLE CURL_CONFIG_ERRORS
380 if (CURL_CONFIG_ERRORS)
381 message(WARNING "unable to run curl-config; rgw cannot make ssl requests to external systems reliably")
384 if (NOT NO_CURL_SSL_LINK)
385 message(STATUS "libcurl is linked with openssl: explicitly setting locks")
386 set(WITH_CURL_OPENSSL ON)
387 endif() # CURL_SSL_LINK
391 "objdump -p ${OPENSSL_SSL_LIBRARY} | sed -n 's/^ SONAME *//p'"
392 OUTPUT_VARIABLE LIBSSL_SONAME
393 ERROR_VARIABLE OBJDUMP_ERRORS
394 RESULT_VARIABLE OBJDUMP_RESULTS
395 OUTPUT_STRIP_TRAILING_WHITESPACE)
397 message(FATAL_ERROR "can't run objdump: ${OBJDUMP_RESULTS}")
399 if (NOT OBJDUMP_ERRORS STREQUAL "")
400 message(WARNING "message from objdump: ${OBJDUMP_ERRORS}")
405 "objdump -p ${OPENSSL_CRYPTO_LIBRARY} | sed -n 's/^ SONAME *//p'"
406 OUTPUT_VARIABLE LIBCRYPTO_SONAME
407 ERROR_VARIABLE OBJDUMP_ERRORS
408 RESULT_VARIABLE OBJDUMP_RESULTS
409 OUTPUT_STRIP_TRAILING_WHITESPACE)
411 message(FATAL_ERROR "can't run objdump: ${OBJDUMP_RESULTS}")
413 if (NOT OBJDUMP_ERRORS STREQUAL "")
414 message(WARNING "message from objdump: ${OBJDUMP_ERRORS}")
416 message(STATUS "ssl soname: ${LIBSSL_SONAME}")
417 message(STATUS "crypto soname: ${LIBCRYPTO_SONAME}")
421 option(WITH_CEPHFS "CephFS is enabled" ON)
423 # Please specify 3.[0-7] if you want to build with a certain version of python3.
424 set(WITH_PYTHON3 "3" CACHE STRING "build with specified python3 version")
426 message(FATAL_ERROR "WITH_PYTHON3 should always be enabled")
427 elseif(WITH_PYTHON3 MATCHES "^(1|ON|YES|TRUE|Y)$")
428 set(WITH_PYTHON3 "3")
429 message(NOTICE "Please specify a Python3 version instead of a BOOLEAN")
430 elseif(NOT WITH_PYTHON3 STREQUAL "3")
431 set(find_python3_exact "EXACT")
433 find_package(Python3 ${WITH_PYTHON3} ${find_python3_exact} REQUIRED
434 COMPONENTS Interpreter Development)
435 unset(find_python3_exact)
437 option(WITH_MGR "ceph-mgr is enabled" ON)
439 set(MGR_PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
440 set(MGR_PYTHON_LIBRARIES ${Python3_LIBRARIES})
441 set(MGR_PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR})
442 set(MGR_PYTHON_VERSION_MINOR ${Python3_VERSION_MINOR})
443 # Boost dependency check deferred to Boost section
446 option(WITH_THREAD_SAFE_RES_QUERY "res_query is thread safe" OFF)
447 if(WITH_THREAD_SAFE_RES_QUERY)
448 set(HAVE_THREAD_SAFE_RES_QUERY 1 CACHE INTERNAL "Thread safe res_query supported.")
451 option(WITH_REENTRANT_STRSIGNAL "strsignal is reentrant" OFF)
452 if(WITH_REENTRANT_STRSIGNAL)
453 set(HAVE_REENTRANT_STRSIGNAL 1 CACHE INTERNAL "Reentrant strsignal is supported.")
456 set(HAVE_LIBROCKSDB 1)
459 find_package(ZLIB REQUIRED)
461 #option for EventTrace
462 CMAKE_DEPENDENT_OPTION(
463 WITH_EVENTTRACE "Event tracing support, requires WITH_LTTNG"
467 option(WITH_LTTNG "LTTng tracing is enabled" ON)
469 find_package(LTTngUST REQUIRED)
470 find_program(LTTNG_GEN_TP
473 message(FATAL_ERROR "Can't find lttng-gen-tp.")
477 option(WITH_OSD_INSTRUMENT_FUNCTIONS OFF)
479 #option for Babeltrace
480 option(WITH_BABELTRACE "Babeltrace libraries are enabled" ON)
482 set(HAVE_BABELTRACE ON)
483 find_package(babeltrace REQUIRED)
484 set(HAVE_BABELTRACE_BABELTRACE_H ${BABELTRACE_FOUND})
485 set(HAVE_BABELTRACE_CTF_EVENTS_H ${BABELTRACE_FOUND})
486 set(HAVE_BABELTRACE_CTF_ITERATOR_H ${BABELTRACE_FOUND})
487 endif(WITH_BABELTRACE)
489 option(DEBUG_GATHER "C_Gather debugging is enabled" ON)
490 option(ENABLE_COVERAGE "Coverage is enabled" OFF)
491 option(PG_DEBUG_REFS "PG Ref debugging is enabled" OFF)
493 option(WITH_TESTS "enable the build of ceph-test package scripts/binaries" ON)
494 set(UNIT_TESTS_BUILT ${WITH_TESTS})
495 set(CEPH_TEST_TIMEOUT 3600 CACHE STRING
496 "Maximum time before a CTest gets killed" )
499 option(WITH_FIO "build with fio plugin enabled" OFF)
500 option(WITH_SYSTEM_FIO "require and build with system fio" OFF)
502 find_package(fio REQUIRED)
504 if (NOT FIO_INCLUDE_DIR)
505 # Use local external fio if include directory is not set
506 set(FIO_INCLUDE_DIR ${CMAKE_BINARY_DIR}/src/fio)
513 add_definitions(-D__linux__)
517 option(WITH_ASAN "build with ASAN" OFF)
519 list(APPEND sanitizers "address")
522 option(WITH_ASAN_LEAK "explicitly enable ASAN leak detection" OFF)
524 list(APPEND sanitizers "leak")
527 option(WITH_TSAN "build with TSAN" OFF)
529 list(APPEND sanitizers "thread")
532 option(WITH_UBSAN "build with UBSAN" OFF)
534 list(APPEND sanitizers "undefined_behavior")
538 find_package(Sanitizers REQUIRED ${sanitizers})
539 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
540 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
541 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
542 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${Sanitizers_COMPILE_OPTIONS}")
546 option(WITH_SYSTEM_ROCKSDB "require and build with system rocksdb" OFF)
547 if (WITH_SYSTEM_ROCKSDB)
548 find_package(RocksDB 5.14 REQUIRED)
551 option(WITH_SEASTAR "Build seastar components")
552 set(HAVE_SEASTAR ${WITH_SEASTAR})
555 option(WITH_SYSTEM_BOOST "require and build with system Boost" OFF)
557 # Boost::thread depends on Boost::atomic, so list it explicitly.
559 atomic chrono thread system regex random program_options date_time
561 set(BOOST_HEADER_COMPONENTS container)
564 list(APPEND BOOST_COMPONENTS
565 python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR})
567 if(WITH_BOOST_CONTEXT)
568 list(APPEND BOOST_COMPONENTS context coroutine)
571 list(APPEND BOOST_COMPONENTS filesystem timer)
574 set(Boost_USE_MULTITHREADED ON)
575 # require minimally the bundled version
576 if(WITH_SYSTEM_BOOST)
578 set(Boost_USE_STATIC_LIBS OFF)
580 set(Boost_USE_STATIC_LIBS ON)
582 if(BOOST_ROOT AND CMAKE_LIBRARY_ARCHITECTURE)
583 set(BOOST_LIBRARYDIR "${BOOST_ROOT}/lib/${CMAKE_LIBRARY_ARCHITECTURE}")
585 find_package(Boost 1.67 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
587 set(BOOST_J 1 CACHE STRING
588 "max jobs for Boost build") # override w/-DBOOST_J=<n>
589 set(Boost_USE_STATIC_LIBS ON)
592 COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS})
594 include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})
595 set(Boost_USE_MULTITHREADED ON)
597 # dashboard angular2 frontend
598 option(WITH_MGR_DASHBOARD_FRONTEND "Build the mgr/dashboard frontend using `npm`" ON)
599 option(WITH_SYSTEM_NPM "Assume that dashboard build tools already installed through packages" OFF)
601 find_program(NPM npm)
603 message(FATAL_ERROR "Can't find npm.")
606 set(DASHBOARD_FRONTEND_LANGS "" CACHE STRING
607 "List of comma separated ceph-dashboard frontend languages to build. \
608 Use value `ALL` to build all languages")
610 # TODO: make this an option and set it to the same value as WITH_MGR_DASHBOARD_FRONTEND
611 set(WITH_MGR_ROOK_CLIENT WITH_MGR_DASHBOARD_FRONTEND)
613 include_directories(SYSTEM ${PROJECT_BINARY_DIR}/include)
615 find_package(Threads REQUIRED)
616 find_package(StdFilesystem)
618 option(WITH_SELINUX "build SELinux policy" OFF)
620 find_file(SELINUX_MAKEFILE selinux/devel/Makefile
622 if(NOT SELINUX_MAKEFILE)
623 message(FATAL_ERROR "Can't find selinux's Makefile")
625 add_subdirectory(selinux)
628 # enables testing and creates Make check command
629 add_custom_target(tests
630 COMMENT "Building tests")
632 set(CMAKE_CTEST_COMMAND ctest)
633 add_custom_target(check
634 COMMAND ${CMAKE_CTEST_COMMAND}
637 add_subdirectory(src)
641 add_subdirectory(doc)
643 add_subdirectory(man)
646 option(WITH_SYSTEMD "install systemd target and service files" ON)
648 add_subdirectory(systemd)
652 add_subdirectory(etc/sysctl)
655 option(WITH_GRAFANA "install grafana dashboards" OFF)
657 add_subdirectory(monitoring/grafana/dashboards)
661 option(CTAG_EXCLUDES "Exclude files/directories when running ctag.")
665 EXCLUDE_OPTS ${CTAG_EXCLUDES}
666 EXCLUDES "*.js" "*.css")
667 add_custom_target(tags DEPENDS ctags)
669 find_package(CppCheck)