commit missing file

This commit is contained in:
charras 2010-01-05 11:44:28 +00:00
parent 84a0e32865
commit 24a07f17c8
1 changed files with 23 additions and 0 deletions

23
common/build_version.cpp Normal file
View File

@ -0,0 +1,23 @@
/* Date for kicad build version */
#include "fctsys.h"
#ifdef HAVE_SVN_VERSION
#include "version.h" // define the KICAD_BUILD_VERSION
#endif
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2010-01-05)"
#endif
#define VERSION_STABILITY "unstable"
/** Function GetBuildVersion()
* Return the build date and version
*/
wxString GetBuildVersion()
{
static wxString msg;
msg.Printf( wxT("%s-%s"),
wxT( KICAD_BUILD_VERSION ), wxT(VERSION_STABILITY));
return msg;
}