[Cmake-commits] CMake branch, next, updated. v2.8.8-2706-g53c3ca3

Brad King brad.king at kitware.com
Wed Apr 25 15:26:52 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  53c3ca3a59790e99b5fc94bc8d99dc20d0379c5b (commit)
       via  5f807a62a51ef6872d27bbd6f49325122ea8fb43 (commit)
      from  5c9cfe4249f240e0328e0bbb1a0508116a6fbaaf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=53c3ca3a59790e99b5fc94bc8d99dc20d0379c5b
commit 53c3ca3a59790e99b5fc94bc8d99dc20d0379c5b
Merge: 5c9cfe4 5f807a6
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Apr 25 15:26:51 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Apr 25 15:26:51 2012 -0400

    Merge topic 'kwsys-remove-DateStamp' into next
    
    5f807a6 KWSys: Remove DateStamp


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5f807a62a51ef6872d27bbd6f49325122ea8fb43
commit 5f807a62a51ef6872d27bbd6f49325122ea8fb43
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Apr 23 15:18:34 2012 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Apr 25 11:40:24 2012 -0400

    KWSys: Remove DateStamp
    
    KWSys is no longer shared in projects via a server-side directory
    symlink in CVS.  An automated nightly date stamp commit can no longer be
    shared by multiple projects directly.  It needs a per-project replay
    robot so the nightly commits end up needing N+1 robots instead of N.
    Remove the DateStamp feature because it is no longer useful or
    maintained by nightly commits.

diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 0ef4e28..ca496ab 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -123,7 +123,6 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
   SET(KWSYS_USE_FundamentalType 1)
   SET(KWSYS_USE_Terminal 1)
   SET(KWSYS_USE_IOStream 1)
-  SET(KWSYS_USE_DateStamp 1)
   SET(KWSYS_USE_String 1)
   SET(KWSYS_USE_SystemInformation 1)
   SET(KWSYS_USE_CPU 1)
@@ -690,7 +689,7 @@ ENDFOREACH(cpp)
 
 # Add selected C components.
 FOREACH(c
-    Process Base64 FundamentalType MD5 Terminal System DateStamp String CPU
+    Process Base64 FundamentalType MD5 Terminal System String CPU
     )
   IF(KWSYS_USE_${c})
     # Use the corresponding header file.
diff --git a/Source/kwsys/DateStamp.h.in b/Source/kwsys/DateStamp.h.in
deleted file mode 100644
index c3d0099..0000000
--- a/Source/kwsys/DateStamp.h.in
+++ /dev/null
@@ -1,42 +0,0 @@
-/*============================================================================
-  KWSys - Kitware System Library
-  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
-  Distributed under the OSI-approved BSD License (the "License");
-  see accompanying file Copyright.txt for details.
-
-  This software is distributed WITHOUT ANY WARRANTY; without even the
-  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-  See the License for more information.
-============================================================================*/
-#ifndef @KWSYS_NAMESPACE at _DateStamp_h
-#define @KWSYS_NAMESPACE at _DateStamp_h
-
-/** Version date integer year.  The format is CCYY.  */
-#define @KWSYS_NAMESPACE at _DATE_STAMP_YEAR          @KWSYS_DATE_STAMP_YEAR@
-
-/** Version date integer month.  The format is MM.  */
-#define @KWSYS_NAMESPACE at _DATE_STAMP_MONTH         @KWSYS_DATE_STAMP_MONTH@
-
-/** Version date integer day.  The format is DD.  */
-#define @KWSYS_NAMESPACE at _DATE_STAMP_DAY           @KWSYS_DATE_STAMP_DAY@
-
-/** Version date full integer.  The format is CCYYMMDD.  */
-#define @KWSYS_NAMESPACE at _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 at _DATE_STAMP_STRING_YEAR  "@KWSYS_DATE_STAMP_YEAR@"
-
-/** Version date string month.  The format is "MM".  */
-#define @KWSYS_NAMESPACE at _DATE_STAMP_STRING_MONTH "@KWSYS_DATE_STAMP_MONTH@"
-
-/** Version date string day.  The format is "DD".  */
-#define @KWSYS_NAMESPACE at _DATE_STAMP_STRING_DAY   "@KWSYS_DATE_STAMP_DAY@"
-
-/** Version date full string.  The format is "CCYYMMDD".  */
-#define @KWSYS_NAMESPACE at _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 at _DATE_STAMP_STRING       "@KWSYS_DATE_STAMP_YEAR at -@KWSYS_DATE_STAMP_MONTH at -@KWSYS_DATE_STAMP_DAY@"
-
-#endif
diff --git a/Source/kwsys/kwsysDateStamp.cmake b/Source/kwsys/kwsysDateStamp.cmake
deleted file mode 100644
index 3d0f03d..0000000
--- a/Source/kwsys/kwsysDateStamp.cmake
+++ /dev/null
@@ -1,21 +0,0 @@
-# Do not edit!  Generated by kwsysDateStamp.py
-#=============================================================================
-# KWSys - Kitware System Library
-# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-
-# KWSys version date year component.  Format is CCYY.
-SET(KWSYS_DATE_STAMP_YEAR  2012)
-
-# KWSys version date month component.  Format is MM.
-SET(KWSYS_DATE_STAMP_MONTH 04)
-
-# KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   20)
diff --git a/Source/kwsys/kwsysDateStamp.py b/Source/kwsys/kwsysDateStamp.py
deleted file mode 100755
index bd2e49a..0000000
--- a/Source/kwsys/kwsysDateStamp.py
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/python
-#=============================================================================
-# KWSys - Kitware System Library
-# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-
-import sys,os
-import time
-
-# Get the path to the directory containing this script.
-if __name__ == '__main__':
-    selfdir = os.path.abspath(sys.path[0] or os.curdir)
-else:
-    selfdir = os.path.abspath(os.path.dirname(__file__))
-
-# Open the CMake code file.
-fname = os.path.join(selfdir, 'kwsysDateStamp.cmake')
-fout = open(fname, 'w');
-
-# Get the current time.
-ct = time.localtime()
-
-# Write the CMake code describing the date.
-fout.write("""# Do not edit!  Generated by kwsysDateStamp.py
-#=============================================================================
-# KWSys - Kitware System Library
-# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-
-# KWSys version date year component.  Format is CCYY.
-SET(KWSYS_DATE_STAMP_YEAR  %04u)
-
-# KWSys version date month component.  Format is MM.
-SET(KWSYS_DATE_STAMP_MONTH %02u)
-
-# KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   %02u)
-""" % (ct.tm_year, ct.tm_mon, ct.tm_mday))
-
-fout.close()

-----------------------------------------------------------------------

Summary of changes:
 Source/kwsys/CMakeLists.txt       |    3 +-
 Source/kwsys/DateStamp.h.in       |   42 ----------------------------
 Source/kwsys/kwsysDateStamp.cmake |   21 --------------
 Source/kwsys/kwsysDateStamp.py    |   54 -------------------------------------
 4 files changed, 1 insertions(+), 119 deletions(-)
 delete mode 100644 Source/kwsys/DateStamp.h.in
 delete mode 100644 Source/kwsys/kwsysDateStamp.cmake
 delete mode 100755 Source/kwsys/kwsysDateStamp.py


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list