uhub/version.h

28 lines
532 B
C

#if !defined(_MSC_VER)
#include "revision.h"
#endif
#ifndef PRODUCT
#define PRODUCT "uhub"
#endif
#ifndef VERSION
#define VERSION "0.4.0"
#endif
#ifndef GIT_REVISION
#define REVISION ""
#define PRODUCT_STRING PRODUCT "/" VERSION
#else
#define REVISION "(git: " GIT_REVISION ")"
#ifdef GIT_VERSION
#define PRODUCT_STRING PRODUCT "/" GIT_VERSION
#else
#define PRODUCT_STRING PRODUCT "/" VERSION " " REVISION
#endif
#endif
#ifndef COPYRIGHT
#define COPYRIGHT "Copyright (c) 2007-2011, Jan Vidar Krey <janvidar@extatic.org>"
#endif