Added debug build warnings

This commit is contained in:
Nav
2021-04-24 16:22:04 +01:00
parent 12c3fff689
commit 03a2bfab57
3 changed files with 15 additions and 2 deletions

View File

@@ -37,6 +37,10 @@ int Application::run(const std::vector<std::string>& arguments) {
}
}
#ifdef BLOOM_DEBUG_BUILD
Logger::warning("This is a debug build - some functions may not work as expected.");
#endif
this->startup();
if (this->insightConfig.insightEnabled) {
@@ -162,6 +166,11 @@ int Application::presentVersionText() {
Logger::silence();
std::cout << "Bloom v" << Application::VERSION_STR << "\n";
#ifdef BLOOM_DEBUG_BUILD
std::cout << "DEBUG BUILD - Compilation timestamp: " << __DATE__ << " " << __TIME__ << "\n";
#endif
std::cout << "https://bloom.oscillate.io/" << "\n";
std::cout << "Nav Mohammed" << std::endl;
return EXIT_SUCCESS;