print version for every standalone grabber and hyperiond

Former-commit-id: 736894a87ba3d056a8e4f1def236ae4670f16407
This commit is contained in:
redpanther
2016-03-10 12:01:10 +01:00
parent 49e867f5fc
commit 153d1f0999
6 changed files with 40 additions and 2 deletions

View File

@@ -92,11 +92,13 @@ Json::Value loadConfig(const std::string & configFile)
int main(int argc, char** argv)
{
std::cout << "Application build time: " << __DATE__ << " " << __TIME__ << std::endl;
std::cout
<< "Hyperiond:" << std::endl
<< "\tversion : " << HYPERION_VERSION_ID << std::endl
<< "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl;
// Initialising QCoreApplication
QCoreApplication app(argc, argv);
std::cout << "Hyperion initialised, Version: " << HYPERION_VERSION_ID << std::endl;
signal(SIGINT, signal_handler);
signal(SIGTERM, signal_handler);