From d2adcf51505484efd164d6c867a8157061d1ff29 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 13 Jan 2014 12:22:03 +0100 Subject: [*] Add automatic version string generation --- src/version.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/version.h') diff --git a/src/version.h b/src/version.h index 60246b7..0c4a66b 100644 --- a/src/version.h +++ b/src/version.h @@ -21,7 +21,10 @@ #ifndef VERSION_H_ #define VERSION_H_ -#define VERSION_STRING "1.0.0" -#define VERSION_NUMBER 100 +extern const char *VERSION_STRING; + +// This is done in a little weird way but otherwise eclipse complains about +// unresolvable symbols etc... +#include "version.c" #endif /* VERSION_H_ */ -- cgit v1.2.3-55-g7522