blob: 14fb883592b06255fd06ae7128aeabd22aeb2726 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// A helper file that may be used to inject the git commit hash and the build time into a binary.
#pragma once
#include <cstdint>
namespace @PROJECT_NAME@
{
namespace build_version
{
namespace git
{
constexpr char const * const kHash = "@GIT_HASH@";
constexpr char const * const kTag = "@GIT_TAG@";
constexpr uint64_t kTimestamp = @GIT_TIMESTAMP@;
constexpr char const * const kProjectName = "@PROJECT_NAME@";
} // namespace git
} // namespace build_version
} // namespace @PROJECT_NAME@
|