diff options
author | Kargatum <dowlandtop@yandex.com> | 2021-10-28 19:47:29 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 14:47:29 +0200 |
commit | a650fd495c1bfd1a3c726505f69fcd626049c214 (patch) | |
tree | 5056178f7c0c737f3024c837301d0f68a34bd90b /src/cmake/showoptions.cmake | |
parent | 7c363c904071099f009572c1b160247bfd4e9650 (diff) |
feat(Core/Metrics): implement real time statistic visualization (#8663)
Diffstat (limited to 'src/cmake/showoptions.cmake')
-rw-r--r-- | src/cmake/showoptions.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cmake/showoptions.cmake b/src/cmake/showoptions.cmake index 0a9a8362c7..8e81121409 100644 --- a/src/cmake/showoptions.cmake +++ b/src/cmake/showoptions.cmake @@ -156,6 +156,18 @@ if(WITH_STRICT_DATABASE_TYPE_CHECKS) add_definitions(-DACORE_STRICT_DATABASE_TYPE_CHECKS) endif() +if(WITHOUT_METRICS) + message("") + message(" *** WITHOUT_METRICS - WARNING!") + message(" *** Please note that this will disable all metrics output (i.e. InfluxDB and Grafana)") + add_definitions(-DWITHOUT_METRICS) +elseif (WITH_DETAILED_METRICS) + message("") + message(" *** WITH_DETAILED_METRICS - WARNING!") + message(" *** Please note that this will enable detailed metrics output (i.e. time each session takes to update)") + add_definitions(-DWITH_DETAILED_METRICS) +endif() + if(BUILD_SHARED_LIBS) message("") message(" *** WITH_DYNAMIC_LINKING - INFO!") |