app/triface/verstag.h

Go to the documentation of this file.
00001 
00040 #ifndef DEVLIB_VERSTAG_H
00041 #define DEVLIB_VERSTAG_H
00042 
00043 #ifndef ARCH_CONFIG_H
00044     #include "cfg/arch_config.h"
00045 #endif
00046 
00047 #define APP_NAME "Triface"
00048 #define APP_DESCRIPTION "Trinity Interface Board"
00049 #define APP_AUTHOR "Develer"
00050 #define APP_COPYRIGHT "Copyright 2006 Develer (http://www.develer.com/)"
00051 
00052 #define VERS_MAJOR 1
00053 #define VERS_MINOR 1
00054 #define VERS_REV   0
00055 #define VERS_LETTER ""
00056 
00061 //#define _SNAPSHOT
00062 
00063 #ifdef _DEBUG
00064     #define VERS_DBG "D"
00065 #else
00066     #define VERS_DBG ""
00067 #endif
00068 
00069 #define __STRINGIZE(x) #x
00070 #define _STRINGIZE(x) __STRINGIZE(x)
00071 
00073 #define MAKE_VERS(maj,min,rev) _STRINGIZE(maj) "." _STRINGIZE(min) "." _STRINGIZE(rev) VERS_LETTER VERS_DBG
00074 #ifdef _SNAPSHOT
00075     #define VERS_TAG "snapshot" " " __DATE__ " " __TIME__ " " VERS_LETTER " " VERS_DBG
00076 #else
00077     #define VERS_TAG MAKE_VERS(VERS_MAJOR,VERS_MINOR,VERS_REV)
00078 #endif
00079 
00081 #define MAKE_RCVERS(maj,min,rev,bld) _STRINGIZE(maj) ", " _STRINGIZE(min) ", " _STRINGIZE(rev) ", " _STRINGIZE(bld)
00082 #define RCVERSION_TAG MAKE_VERS(VERS_MAJOR,VERS_MINOR,VERS_REV)
00083 
00085 extern const char vers_tag[];
00086 
00088 extern const int vers_build_nr;
00089 //extern const char vers_build_str[];
00090 
00092 extern const char vers_host[];
00093 
00094 #endif /* DEVLIB_VERSTAG_H */