2015-06-30 12:46:07 +03:00
|
|
|
#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_VERSION_D ${verInfo.format('.', '-', true)}
|
2016-01-21 20:36:05 +03:00
|
|
|
\#define APP_VERSION_C ${verInfo.majorVersion},${verInfo.minorVersion},0,${verInfo.countCommit}
|
2015-06-30 12:46:07 +03:00
|
|
|
|
2016-01-21 20:36:05 +03:00
|
|
|
\#define APP_VERSION_STRD "${verInfo.majorVersion}.${verInfo.minorVersion}.${verInfo.countCommit}"
|
|
|
|
\#define APP_VERSION_STRD_RC "${verInfo.majorVersion}.${verInfo.minorVersion}.${verInfo.countCommit}"
|
2015-06-30 12:46:07 +03:00
|
|
|
#set ( $commitYMD = $_DateTimeFormat.forPattern('yyyy-MM-dd').print($verInfo.lastCommitDate) )
|
|
|
|
|
|
|
|
\#define APP_VERSION_YMD_STR "${commitYMD}"
|
2016-01-21 20:36:05 +03:00
|
|
|
\#define APP_VERSION APP_VERSION_STRD
|
2015-06-30 12:46:07 +03:00
|
|
|
|
|
|
|
#endif //__APPVERSION_H__
|