pass version to gcc derived from git describe

This commit is contained in:
Conor Patrick
2019-02-12 16:37:09 -05:00
parent 020fe21546
commit bc8984aac3
4 changed files with 26 additions and 11 deletions

View File

@@ -13,7 +13,9 @@
#define __STR_HELPER(x) #x
#define __STR(x) __STR_HELPER(x)
#ifndef VERSION
#define VERSION __STR(SOLO_VERSION_MAJ) "." __STR(SOLO_VERSION_MIN) "." __STR(SOLO_VERSION_PATCH)
#endif
#endif