forked from aristanetworks/EosSdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.cpp
27 lines (23 loc) · 927 Bytes
/
version.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2013 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include "eos/version.h"
#include "config.h" // Generated by configure
namespace eos {
const char * const version = PACKAGE_VERSION "-stubs";
const uint8_t version_major = SDK_VERSION_MAJOR;
const uint8_t version_minor = SDK_VERSION_MINOR;
const uint8_t version_patch = SDK_VERSION_PATCH;
#if SHIPPING
const char * const build_project = SDK_BUILD_PROJECT;
const char * const build_user = SDK_BUILD_USER;
const char * const build_path = SDK_BUILD_PATH;
const uint32_t build_cl = SDK_BUILD_PROJECT_CL;
const uint64_t build_timestamp = SDK_BUILD_TIMESTAMP;
#else
const char * const build_project = "anonymous-dev-build";
const char * const build_user = "anonymous-dev-user";
const char * const build_path = "anonymous-dev-path";
const uint32_t build_cl = 0;
const uint64_t build_timestamp = 0l;
#endif
}