Release with -O3 instead of -Os, Debug version is shown in info

This commit is contained in:
2022-07-16 01:55:26 +02:00
parent 89917dc269
commit ca1dc53797
3 changed files with 92 additions and 3 deletions

View File

@ -26,8 +26,13 @@ extern "C" {
#define STR(x) STR_HELPER(x)
#endif
#define VERSION_MAJOR 0
#define VERSION_MINOR 3
#define PROGRAM_ID "f0x.at1 Version " STR(VERSION_MAJOR) "." STR(VERSION_MINOR)
#define VERSION_MINOR 4
#ifdef DEBUG
#define VERSION_DEBUG ".D"
#else
#define VERSION_DEBUG
#endif
#define PROGRAM_ID "f0x.at1 Version " STR(VERSION_MAJOR) "." STR(VERSION_MINOR) VERSION_DEBUG
#define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERION_MINOR)
/*#define DATE __DATE__ */
#define AUTHOR_STRING "Tom Kuschel KW4NZ"