From Electron Cloud
Jump to: navigation, search
(Removing all content from page)
 
Line 1: Line 1:
How to use build_host.h and generate a version message:
 
  
<pre>
 
#include "build_host.h" // created by Makefile
 
 
void print_version()
 
{
 
printf("This is Thingamajig version " VERSION
 
      " built " __DATE__ " " __TIME__ " on " BUILD_HOST);
 
}
 
</pre>
 

Latest revision as of 13:20, 23 July 2008