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/kwsysDateStamp.py | |
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/kwsysDateStamp.py')
-rwxr-xr-x | Source/kwsys/kwsysDateStamp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/kwsysDateStamp.py b/Source/kwsys/kwsysDateStamp.py index 4370c8a..e719a42 100755 --- a/Source/kwsys/kwsysDateStamp.py +++ b/Source/kwsys/kwsysDateStamp.py @@ -20,13 +20,13 @@ ct = time.localtime() fout.write("""# Do not edit! Generated by kwsysDateStamp.py # KWSys version date year component. Format is CCYY. -SET(KWSYS_VERSION_DATE_YEAR %04u) +SET(KWSYS_DATE_STAMP_YEAR %04u) # KWSys version date month component. Format is MM. -SET(KWSYS_VERSION_DATE_MONTH %02u) +SET(KWSYS_DATE_STAMP_MONTH %02u) # KWSys version date day component. Format is DD. -SET(KWSYS_VERSION_DATE_DAY %02u) +SET(KWSYS_DATE_STAMP_DAY %02u) """ % (ct.tm_year, ct.tm_mon, ct.tm_mday)) fout.close() |