mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
9fd5eaa043
Update PreBuild.bat
28 lines
969 B
Plaintext
28 lines
969 B
Plaintext
#ifndef __APPVERSION_H__
|
|
\#define __APPVERSION_H__
|
|
|
|
//
|
|
// This file is generated automatically.
|
|
// Don't edit it.
|
|
//
|
|
|
|
// Version defines
|
|
\#define VERSION_MAJOR ${verInfo.majorVersion}
|
|
\#define VERSION_MINOR ${verInfo.minorVersion}
|
|
|
|
\#define APP_COMMIT_AUTHOR "(${verInfo.authorCommit})"
|
|
\#define APP_COMMIT_ID "${verInfo.commitID}"
|
|
\#define APP_COMMITS_URL "${verInfo.urlCommits}"
|
|
|
|
\#define APP_VERSION_D ${verInfo.format('.', '-', true)}
|
|
\#define APP_VERSION_C ${verInfo.majorVersion},${verInfo.minorVersion},0,${verInfo.countCommit}
|
|
|
|
\#define APP_VERSION_STRD "${verInfo.majorVersion}.${verInfo.minorVersion}.${verInfo.countCommit}"
|
|
\#define APP_VERSION_STRD_RC "${verInfo.majorVersion}.${verInfo.minorVersion}.${verInfo.countCommit}"
|
|
#set ( $commitYMD = $_DateTimeFormat.forPattern('yyyy-MM-dd').print($verInfo.lastCommitDate) )
|
|
|
|
\#define APP_VERSION_YMD_STR "${commitYMD}"
|
|
\#define APP_VERSION APP_VERSION_STRD
|
|
|
|
#endif //__APPVERSION_H__
|