[Cmake-commits] CMake branch, next, updated. v2.8.4-1675-gb31dab8
David Cole
david.cole at kitware.com
Fri Jun 3 12:24:49 EDT 2011
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 b31dab8b649f135296e9bc284bd93d009961deff (commit)
via fbac791abd614c326c2403f292db4cc9e0596a2d (commit)
via 597ab436040413c35402926de961b8adefca404f (commit)
from cea523cc6982ec3fb7d9f18e17dfc4b826ecfea2 (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=b31dab8b649f135296e9bc284bd93d009961deff
commit b31dab8b649f135296e9bc284bd93d009961deff
Merge: cea523c fbac791
Author: David Cole <david.cole at kitware.com>
AuthorDate: Fri Jun 3 12:24:47 2011 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Jun 3 12:24:47 2011 -0400
Merge topic 'emit-configure-warning-on-cvs-checkouts' into next
fbac791 CMake: Add a configure-time warning about removing cvs support
597ab43 KWSys Nightly Date Stamp
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fbac791abd614c326c2403f292db4cc9e0596a2d
commit fbac791abd614c326c2403f292db4cc9e0596a2d
Author: David Cole <david.cole at kitware.com>
AuthorDate: Fri Jun 3 12:21:19 2011 -0400
Commit: David Cole <david.cole at kitware.com>
CommitDate: Fri Jun 3 12:21:19 2011 -0400
CMake: Add a configure-time warning about removing cvs support
Only on dashboard runs, warn if the source tree is not a git
checkout. This will highlight the remaining dashboard submissions
that are still based on the cvs checkout.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93822ef..c53c854 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,6 +33,22 @@ IF("${CMake_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
ENDIF()
#-----------------------------------------------------------------------
+# For dashboard runs, emit a warning if the source tree is NOT a git
+# repository checkout
+#-----------------------------------------------------------------------
+if(NOT "$ENV{DASHBOARD_TEST_FROM_CTEST}" STREQUAL "")
+if(NOT EXISTS "${CMake_SOURCE_DIR}/.git")
+ message(AUTHOR_WARNING "CMake_SOURCE_DIR is NOT a git checkout
+
+Please update this dashboard to use git, cvs support will
+soon be removed...
+
+CMake_SOURCE_DIR='${CMake_SOURCE_DIR}'
+")
+endif()
+endif()
+
+#-----------------------------------------------------------------------
# a macro to deal with system libraries, implemented as a macro
# simply to improve readability of the main script
#-----------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 16 ++++++++++++++++
Source/kwsys/kwsysDateStamp.cmake | 2 +-
2 files changed, 17 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list