mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Version info
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "icsneo/api/version.h"
|
||||
#include "generated/buildinfo.h"
|
||||
|
||||
using namespace icsneo;
|
||||
|
||||
neoversion_t icsneo::GetVersion(void) {
|
||||
neoversion_t version = {};
|
||||
version.major = BUILD_MAJOR;
|
||||
version.minor = BUILD_MINOR;
|
||||
version.patch = BUILD_PATCH;
|
||||
version.metadata = BUILD_METADATA;
|
||||
version.buildBranch = GIT_BRANCH;
|
||||
version.buildTag = GIT_DESCRIBE;
|
||||
return version;
|
||||
}
|
||||
Reference in New Issue
Block a user