release/debug info in -v

This commit is contained in:
2022-01-15 13:08:54 +01:00
parent bab67f70f9
commit 01e700af54
2 changed files with 6 additions and 2 deletions

6
ml.h
View File

@@ -6,7 +6,11 @@
#include <sstream>
#include <exception>
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ ")";
#ifdef NDEBUG
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ "), Release";
#else
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ "), Debug";
#endif
const std::string STDLIB_LOADER =
R"(