From Electron Cloud
Revision as of 13:19, 23 July 2008 by Ecloud (Talk | contribs)

Jump to: navigation, search

How to use build_host.h and generate a version message:

#include "build_host.h"		// created by Makefile

void print_version()
{
	printf("This is Thingamajig version " VERSION
	       " built " __DATE__ " " __TIME__ " on " BUILD_HOST);
}