ultimatepp/reference/build_info/build_info.cpp
cxl 89a0bf4270 reference: Cpp11 features
git-svn-id: svn://ultimatepp.org/upp/trunk@8880 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-31 10:13:04 +00:00

25 lines
508 B
C++

#include <Core/Core.h>
#include <build_info.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
#ifdef bmTIME
LOG("Compiled " << bmTIME << ", " << (GetSysDate() - (Date)bmTIME) << " day(s) ago");
#endif
#ifdef bmUSER
LOG("Compiled by user " << bmUSER);
#endif
#ifdef bmMACHINE
LOG("Compiled on machine " << bmMACHINE);
#endif
#ifdef bmSVN_REVISION
LOG("Svn revision " << bmSVN_REVISION);
#endif
#ifdef bmSVN_URL
LOG("Svn url " << bmSVN_URL);
#endif
}