[Cmake-commits] CMake branch, next, updated. v2.8.2-1131-gb32b318
David Cole
david.cole at kitware.com
Thu Oct 28 15:46:45 EDT 2010
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 b32b3181173681ff0ce041b527638e9d08cbeda6 (commit)
via f6f3ae5bcd3d560947cfde1c578c42dd979d0c47 (commit)
from bafb11a3cc3fc27839e2a9f2d4e3fc576c4b4073 (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=b32b3181173681ff0ce041b527638e9d08cbeda6
commit b32b3181173681ff0ce041b527638e9d08cbeda6
Merge: bafb11a f6f3ae5
Author: David Cole <david.cole at kitware.com>
AuthorDate: Thu Oct 28 15:46:40 2010 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Oct 28 15:46:40 2010 -0400
Merge topic 'add-cse-contract-test' into next
f6f3ae5 Update tag in the Contracts/cse-snapshot test.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f6f3ae5bcd3d560947cfde1c578c42dd979d0c47
commit f6f3ae5bcd3d560947cfde1c578c42dd979d0c47
Author: David Cole <david.cole at kitware.com>
AuthorDate: Thu Oct 28 14:41:30 2010 -0400
Commit: David Cole <david.cole at kitware.com>
CommitDate: Thu Oct 28 14:41:30 2010 -0400
Update tag in the Contracts/cse-snapshot test.
Also:
- allow local variables 'repo' and 'tag' to be overridden
by the optional LocalOverrides.cmake
- print out STATUS messages to see the variable values in
CMake configure output
diff --git a/Tests/Contracts/cse-snapshot/CMakeLists.txt b/Tests/Contracts/cse-snapshot/CMakeLists.txt
index a2f5e9c..9134210 100644
--- a/Tests/Contracts/cse-snapshot/CMakeLists.txt
+++ b/Tests/Contracts/cse-snapshot/CMakeLists.txt
@@ -13,8 +13,18 @@ if(NOT DEFINED HOME)
set(HOME "$ENV{HOME}")
endif()
endif()
+message(STATUS "HOME='${HOME}'")
+
+if(NOT DEFINED repo)
+ set(repo "git://public.kitware.com/cse.git")
+endif()
+message(STATUS "repo='${repo}'")
+
+if(NOT DEFINED tag)
+ set(tag "cc1dcb95439a21ab1d58f444d93481598414196e")
+endif()
+message(STATUS "tag='${tag}'")
-set(tag "510345e4360ac3b07ddb29e527207297f7cc6d89")
string(SUBSTRING "${tag}" 0 8 shorttag)
set(base_dir "${HOME}/.cmake/Contracts/${PROJECT_NAME}/${shorttag}")
@@ -25,10 +35,12 @@ set(source_dir "${base_dir}/src")
if(NOT DEFINED BUILDNAME)
set(BUILDNAME "CMakeContract-${shorttag}")
endif()
+message(STATUS "BUILDNAME='${BUILDNAME}'")
if(NOT DEFINED SITE)
site_name(SITE)
endif()
+message(STATUS "SITE='${SITE}'")
if(NOT DEFINED PROCESSOR_COUNT)
# Unknown:
@@ -56,12 +68,14 @@ if(NOT DEFINED PROCESSOR_COUNT)
set(PROCESSOR_COUNT "$ENV{NUMBER_OF_PROCESSORS}")
endif()
endif()
+message(STATUS "PROCESSOR_COUNT='${PROCESSOR_COUNT}'")
find_package(Git)
if(NOT GIT_EXECUTABLE)
message(FATAL_ERROR "error: could not find git")
# adjust PATH to find git, or set GIT_EXECUTABLE in LocalOverrides.cmake
endif()
+message(STATUS "GIT_EXECUTABLE='${GIT_EXECUTABLE}'")
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/Dashboard.cmake.in"
@@ -83,7 +97,7 @@ else()
# If it does not yet exist, download clones the git repository:
ExternalProject_Add(download-${PROJECT_NAME}
SOURCE_DIR "${source_dir}"
- GIT_REPOSITORY "git://public.kitware.com/cse.git"
+ GIT_REPOSITORY "${repo}"
GIT_TAG "${tag}"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
-----------------------------------------------------------------------
Summary of changes:
Tests/Contracts/cse-snapshot/CMakeLists.txt | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list