mirror of
https://github.com/Telecominfraproject/ols-ucentral-client.git
synced 2025-10-29 00:52:33 +00:00
Add version to ols-ucentral-client Augment the build to pull the schema version file from the ols-ucentral-schema repo (if present) based on commit id of schema used as baseline for this client version. Use both it and the version to provide the version information in the connect message. Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
15 lines
282 B
C
15 lines
282 B
C
#ifndef _PLAT_REVISION
|
|
#define _PLAT_REVISION
|
|
|
|
#define XSTR(x) STR(x)
|
|
#define STR(x) #x
|
|
|
|
#define PLATFORM_REL_NUM 3.2.0
|
|
#define PLATFORM_BUILD_NUM 5
|
|
|
|
#ifndef PLATFORM_REVISION
|
|
#define PLATFORM_REVISION "Rel " XSTR(PLATFORM_REL_NUM) " build " XSTR(PLATFORM_BUILD_NUM)
|
|
#endif
|
|
|
|
#endif
|