Add version/extensions to PC build

This commit is contained in:
Conor Patrick
2019-03-06 14:05:44 -05:00
parent b0b0564df9
commit 5cb81c753d
3 changed files with 15 additions and 3 deletions

View File

@@ -1,21 +0,0 @@
#ifndef _VERSION_H_
#define _VERSION_H_
#ifndef SOLO_VERSION_MAJ
#define SOLO_VERSION_MAJ 0
#define SOLO_VERSION_MIN 0
#define SOLO_VERSION_PATCH 0
#endif
#define __STR_HELPER(x) #x
#define __STR(x) __STR_HELPER(x)
#ifndef SOLO_VERSION
#define SOLO_VERSION __STR(SOLO_VERSION_MAJ) "." __STR(SOLO_VERSION_MIN) "." __STR(SOLO_VERSION_PATCH)
#endif
#endif