Feature/dev (#1143)

* 防止每次cmake后导致重复编译
This commit is contained in:
夏楚
2021-09-30 11:27:42 +08:00
committed by GitHub
parent a83187d25f
commit a548fcd709
5 changed files with 37 additions and 23 deletions

View File

@@ -159,7 +159,7 @@ public:
[](const std::shared_ptr<ostream> &stream, const string &arg) -> bool {
//版本信息
*stream << "编译日期: " << BUILD_TIME << std::endl;
*stream << "当前git分支: " << BRANCH_TIME << std::endl;
*stream << "当前git分支: " << BRANCH_NAME << std::endl;
*stream << "当前git hash值: " << COMMIT_HASH << std::endl;
throw ExitException();
});