Auto incrémente les numéros de version et de génération de votre application chaque fois qu'un changement
a été effectué et l'enregistre dans le fichier version.h avec des déclarations de variables faciles à utiliser.
Possède aussi une fonctionnalité pour envoyer les changements dans le style SVN, un éditeur de schémas
de versions et un générateur de journal des changements.
Exemple:
#include "version.h"
printf("v%d.%d.%d.%d",MAJOR,MINOR,BUILD,REVISION); // exemple en C
string version = AutoVersion::FULLVERSION_STRING; // exemple en C++
Déclarations disponibles dans le namespace d'AutoVersion en C++ et en global en C:
1) Types de Dates de Version
[tab]
static const char DATE[]
[tab]
static const char MONTH[]
[tab]
static const char YEAR[]
[tab]
static const double UBUNTU_VERSION_STYLE
2) État du Programme
[tab]
static const char STATUS[]
[tab]
static const char STATUS_SHORT[]
3) Types Standards de Version
[tab]
static const long MAJOR
[tab]
static const long MINOR
[tab]
static const long BUILD
[tab]
static const long REVISION
4) Divers Types de Versions
[tab]
static const long BUILDS_COUNT
[tab]
#define RC_FILEVERSION
[tab]
#define RC_FILEVERSION_STRING
[tab]
static const char FULLVERSION_STRING[]
5) Version de SVN
[tab]
static const char SVN_REVISION[]
[tab]
static const char SVN_DATE[]