mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-01 07:22:23 +08:00
减少unsport code打印,新增git信息获取
This commit is contained in:
11
version.h.ini
Normal file
11
version.h.ini
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef __GIT_VERSION_H__
|
||||
#define __GIT_VERSION_H__
|
||||
|
||||
#include <string>
|
||||
|
||||
const std::string commit_hash = "@COMMIT_HASH@";
|
||||
const std::string branch_name = "@BRANCH_NAME@";
|
||||
const std::string build_time = "@BUILD_TIME@";
|
||||
|
||||
#endif //__GIT_VERSION_H__
|
||||
|
||||
Reference in New Issue
Block a user