diff options
author | Brad King <brad.king@kitware.com> | 2007-11-12 23:22:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-11-12 23:22:22 (GMT) |
commit | 121b1db7417679ef7c158d3b6ad269060e195d5e (patch) | |
tree | c8512c558168cc1bcbda32fa61826278a36e648b /Source/kwsys/DateStamp.h.in | |
parent | fa5f9836514d95d482b0fa8da7a4e2bed00b6f3c (diff) | |
download | CMake-121b1db7417679ef7c158d3b6ad269060e195d5e.zip CMake-121b1db7417679ef7c158d3b6ad269060e195d5e.tar.gz CMake-121b1db7417679ef7c158d3b6ad269060e195d5e.tar.bz2 |
ENH: Created better names and a more convenient set of version date stamp macros.
Diffstat (limited to 'Source/kwsys/DateStamp.h.in')
-rw-r--r-- | Source/kwsys/DateStamp.h.in | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/Source/kwsys/DateStamp.h.in b/Source/kwsys/DateStamp.h.in index 31550dc..33391fc 100644 --- a/Source/kwsys/DateStamp.h.in +++ b/Source/kwsys/DateStamp.h.in @@ -14,31 +14,31 @@ #ifndef @KWSYS_NAMESPACE@_DateStamp_h #define @KWSYS_NAMESPACE@_DateStamp_h -/** - * Version date year component. The format is CCYY. - */ -#define @KWSYS_NAMESPACE@_VERSION_DATE_YEAR @KWSYS_VERSION_DATE_YEAR@ - -/** - * Version date month component. The format is MM. - */ -#define @KWSYS_NAMESPACE@_VERSION_DATE_MONTH @KWSYS_VERSION_DATE_MONTH@ - -/** - * Version date day component. The format is DD. - */ -#define @KWSYS_NAMESPACE@_VERSION_DATE_DAY @KWSYS_VERSION_DATE_DAY@ - -/** - * Version date accessible from preprocessor. - * This is an integer in the format CCYYMMDD. - */ -#define @KWSYS_NAMESPACE@_VERSION_DATE_FULL @KWSYS_VERSION_DATE_YEAR@@KWSYS_VERSION_DATE_MONTH@@KWSYS_VERSION_DATE_DAY@ - -/** - * Version date as a string literal. - * The format is "CCYY-MM-DD". - */ -#define @KWSYS_NAMESPACE@_VERSION_DATE_STRING "@KWSYS_VERSION_DATE_YEAR@-@KWSYS_VERSION_DATE_MONTH@-@KWSYS_VERSION_DATE_DAY@" +/** Version date integer year. The format is CCYY. */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_YEAR @KWSYS_DATE_STAMP_YEAR@ + +/** Version date integer month. The format is MM. */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_MONTH @KWSYS_DATE_STAMP_MONTH@ + +/** Version date integer day. The format is DD. */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_DAY @KWSYS_DATE_STAMP_DAY@ + +/** Version date full integer. The format is CCYYMMDD. */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_FULL @KWSYS_DATE_STAMP_YEAR@@KWSYS_DATE_STAMP_MONTH@@KWSYS_DATE_STAMP_DAY@ + +/** Version date string year. The format is "CCYY". */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_STRING_YEAR "@KWSYS_DATE_STAMP_YEAR@" + +/** Version date string month. The format is "MM". */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_STRING_MONTH "@KWSYS_DATE_STAMP_MONTH@" + +/** Version date string day. The format is "DD". */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_STRING_DAY "@KWSYS_DATE_STAMP_DAY@" + +/** Version date full string. The format is "CCYYMMDD". */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_STRING_FULL "@KWSYS_DATE_STAMP_YEAR@@KWSYS_DATE_STAMP_MONTH@@KWSYS_DATE_STAMP_DAY@" + +/** Version date formatted string. The format is "CCYY-MM-DD". */ +#define @KWSYS_NAMESPACE@_DATE_STAMP_STRING "@KWSYS_DATE_STAMP_YEAR@-@KWSYS_DATE_STAMP_MONTH@-@KWSYS_DATE_STAMP_DAY@" #endif |