2020-04-20 23:59:47 +08:00
|
|
|
/*
|
|
|
|
* version.h
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020, hikyuu.org
|
|
|
|
*
|
|
|
|
* Created on: 2020-4-19
|
|
|
|
* Author: fasiondog
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#ifndef HKU_VERSION_H
|
|
|
|
#define HKU_VERSION_H
|
|
|
|
|
|
|
|
// clang-format off
|
|
|
|
#define HKU_VERSION "${VERSION}"
|
|
|
|
#define HKU_VERSION_MAJOR ${VERSION_MAJOR}
|
|
|
|
#define HKU_VERSION_MINOR ${VERSION_MINOR}
|
|
|
|
#define HKU_VERSION_ALTER ${VERSION_ALTER}
|
|
|
|
#define HKU_VERSION_BUILD ${VERSION_BUILD}
|
2024-02-02 15:18:41 +08:00
|
|
|
#define HKU_VERSION_MODE "${MODE}"
|
|
|
|
#define HKU_VERSION_GIT "${VERSION} ${GIT_BRANCH}.${GIT_COMMIT} (${MODE})"
|
2020-04-20 23:59:47 +08:00
|
|
|
// clang-format on
|
|
|
|
|
2024-02-01 19:33:38 +08:00
|
|
|
#endif /* HKU_VERSION_H */
|