libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
buildinfo.h
Go to the documentation of this file.
1
8#pragma once
9
11
13
18typedef struct {
19 const char * name;
20 const char * version;
21 const char * repoident;
22 const char * date;
23 const char * time;
24 const char * hostname;
25 const char * type;
28} BuildInfo;
29
32
35
37
const BuildInfo * getBuildInfo()
Returns a pointer to the global BuildInfo structure.
void logBuildInfo()
Writes all build information fields to the log output.
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19
Holds compile-time build information for the library.
Definition buildinfo.h:18
const char * name
Project name.
Definition buildinfo.h:19
const char * version
Version string (e.g. "1.2.3").
Definition buildinfo.h:20
const char * repoident
Repository identifier (e.g. git commit hash).
Definition buildinfo.h:21
int betaVersion
Beta version number, or 0 if not a beta build.
Definition buildinfo.h:26
const char * date
Build date string (DATE).
Definition buildinfo.h:22
const char * time
Build time string (TIME).
Definition buildinfo.h:23
int rcVersion
Release candidate number, or 0 if not an RC build.
Definition buildinfo.h:27
const char * type
Build type (e.g. "Release", "Debug").
Definition buildinfo.h:25
const char * hostname
Hostname of the build machine.
Definition buildinfo.h:24