X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=verstag.h;h=a37bcc1112d53d7a98119ce8fe78ef6353199cea;hb=351e7eedb652e50b5a335a5f37f930e191b96345;hp=f99789d3388b93721a3c85d67300db962cb8375e;hpb=7274320bab5de6cbc4a4c9e242574c02dc82d02b;p=bertos.git diff --git a/verstag.h b/verstag.h old mode 100755 new mode 100644 index f99789d3..a37bcc11 --- a/verstag.h +++ b/verstag.h @@ -1,9 +1,34 @@ -/*! +/** * \file * * * \version $Id$ @@ -16,13 +41,13 @@ #define DEVLIB_VERSTAG_H #ifndef ARCH_CONFIG_H - #include "arch_config.h" + #include #endif #define APP_NAME "Appname" #define APP_DESCRIPTION "Long application name description" #define APP_AUTHOR "Develer" -#define APP_COPYRIGHT "Copyright (C) 2004 by Develer (http://www.develer.com/)" +#define APP_COPYRIGHT "Copyright 2006 Develer (http://www.develer.com/)" #if (ARCH & ARCH_FOO) #define VERS_MAJOR 0 @@ -38,9 +63,9 @@ #error unknown architecture #endif -/*! - * If _SNAPSHOT is defined, VERSION_TAG build the version using the compilation - * date instead of building the numeric version string. +/** + * If _SNAPSHOT is defined, \c VERS_TAG contains the build date + * date instead of a numeric version string. */ #define _SNAPSHOT @@ -53,27 +78,26 @@ #define __STRINGIZE(x) #x #define _STRINGIZE(x) __STRINGIZE(x) -/*! Build application version string (i.e.: "1.7.0") */ +/** Build application version string (i.e.: "1.7.0") */ #define MAKE_VERS(maj,min,rev) _STRINGIZE(maj) "." _STRINGIZE(min) "." _STRINGIZE(rev) VERS_LETTER VERS_DBG #ifdef _SNAPSHOT - #define VERSION_TAG "snapshot" " " __DATE__ " " __TIME__ " " VERS_LETTER " " VERS_DBG + #define VERS_TAG "snapshot" " " __DATE__ " " __TIME__ " " VERS_LETTER " " VERS_DBG #else - #define VERSION_TAG MAKE_VERS(VERS_MAJOR,VERS_MINOR,VERS_REV) + #define VERS_TAG MAKE_VERS(VERS_MAJOR,VERS_MINOR,VERS_REV) #endif - -/*! Build application version string suitable for MS windows resource files (i.e.: "1, 7, 0, 1") */ +/** Build application version string suitable for MS windows resource files (i.e.: "1, 7, 0, 1") */ #define MAKE_RCVERS(maj,min,rev,bld) _STRINGIZE(maj) ", " _STRINGIZE(min) ", " _STRINGIZE(rev) ", " _STRINGIZE(bld) #define RCVERSION_TAG MAKE_VERS(VERS_MAJOR,VERS_MINOR,VERS_REV) -/*! The revision string (contains VERS_TAG) */ +/** The revision string (contains VERS_TAG) */ extern const char vers_tag[]; -/*! Sequential build number (contains VERS_BUILD) */ +/** Sequential build number (contains VERS_BUILD) */ extern const int vers_build_nr; //extern const char vers_build_str[]; -/*! Hostname of the machine used to build this binary (contains VERS_HOST) */ +/** Hostname of the machine used to build this binary (contains VERS_HOST) */ extern const char vers_host[]; #endif /* DEVLIB_VERSTAG_H */