summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsysDateStamp.py
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-11-12 23:22:22 (GMT)
committerBrad King <brad.king@kitware.com>2007-11-12 23:22:22 (GMT)
commit121b1db7417679ef7c158d3b6ad269060e195d5e (patch)
treec8512c558168cc1bcbda32fa61826278a36e648b /Source/kwsys/kwsysDateStamp.py
parentfa5f9836514d95d482b0fa8da7a4e2bed00b6f3c (diff)
downloadCMake-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-xSource/kwsys/kwsysDateStamp.py6
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()