Add build type define and minor meson build file update.

This commit is contained in:
apoorv569
2022-09-16 01:13:54 +05:30
parent 6d0f66d144
commit 491852a756
4 changed files with 25 additions and 5 deletions
+7 -1
View File
@@ -22,7 +22,13 @@
#include <memory>
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE
#include <SampleHiveConfig.hpp>
#ifndef SH_BUILD_DEBUG
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE
#else
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_OFF
#endif
#include <spdlog/spdlog.h>