BeRTOS
Defines | Variables
verstag.h File Reference

Declare application version strings. More...

#include "cfg/cfg_arch.h"

Go to the source code of this file.

Defines

#define _SNAPSHOT
 If _SNAPSHOT is defined, VERS_TAG contains the build date date instead of a numeric version string.
#define MAKE_VERS(maj, min, rev)   _STRINGIZE(maj) "." _STRINGIZE(min) "." _STRINGIZE(rev) VERS_LETTER VERS_DBG
 Build application version string (i.e.
#define MAKE_RCVERS(maj, min, rev, bld)   _STRINGIZE(maj) ", " _STRINGIZE(min) ", " _STRINGIZE(rev) ", " _STRINGIZE(bld)
 Build application version string suitable for MS windows resource files (i.e.

Variables

const char vers_tag []
 The revision string (contains VERS_TAG)
const int vers_build_nr
 Sequential build number (contains VERS_BUILD)
const char vers_host []
 Hostname of the machine used to build this binary (contains VERS_HOST)

Detailed Description

Declare application version strings.

Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file verstag.h.


Define Documentation

#define MAKE_RCVERS (   maj,
  min,
  rev,
  bld 
)    _STRINGIZE(maj) ", " _STRINGIZE(min) ", " _STRINGIZE(rev) ", " _STRINGIZE(bld)

Build application version string suitable for MS windows resource files (i.e.

: "1, 7, 0, 1")

Definition at line 92 of file verstag.h.

#define MAKE_VERS (   maj,
  min,
  rev 
)    _STRINGIZE(maj) "." _STRINGIZE(min) "." _STRINGIZE(rev) VERS_LETTER VERS_DBG

Build application version string (i.e.

: "1.7.0")

Definition at line 84 of file verstag.h.