[Cmake-commits] CMake branch, next, updated. v2.8.3-1553-g54e13fc
David Cole
david.cole at kitware.com
Tue Feb 1 15:54:25 EST 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 54e13fcace9c005ef5e96b6c60f3bdac60a5aa3c (commit)
via 816c9d1aa1f2b42d40c81a991b68c96eb12b6d26 (commit)
from 94e1bc8aa7f195b57201959df3dbb67c13a3229b (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=54e13fcace9c005ef5e96b6c60f3bdac60a5aa3c
commit 54e13fcace9c005ef5e96b6c60f3bdac60a5aa3c
Merge: 94e1bc8 816c9d1
Author: David Cole <david.cole at kitware.com>
AuthorDate: Tue Feb 1 15:53:39 2011 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Feb 1 15:53:39 2011 -0500
Merge topic 'fix-4564-make-test-alias' into next
816c9d1 CTest: Add alias for make test target (#4564)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=816c9d1aa1f2b42d40c81a991b68c96eb12b6d26
commit 816c9d1aa1f2b42d40c81a991b68c96eb12b6d26
Author: David Cole <david.cole at kitware.com>
AuthorDate: Tue Feb 1 15:37:25 2011 -0500
Commit: David Cole <david.cole at kitware.com>
CommitDate: Tue Feb 1 15:39:02 2011 -0500
CTest: Add alias for make test target (#4564)
Clients may define CTEST_TEST_TARGET_ALIAS in a project's
initial cache to get a target of another name that executes
the same underlying command as "make test"
diff --git a/Modules/CTestTargets.cmake b/Modules/CTestTargets.cmake
index e3ef86c..d66874d 100644
--- a/Modules/CTestTargets.cmake
+++ b/Modules/CTestTargets.cmake
@@ -84,4 +84,12 @@ IF(NOT _CTEST_TARGETS_ADDED)
ENDFOREACH(testtype)
ENDFOREACH(mode)
ENDIF("${CMAKE_GENERATOR}" MATCHES Make)
+
+ # If requested, add an alias that is the equivalent of the built-in "test"
+ # or "RUN_TESTS" target:
+ IF(CTEST_TEST_TARGET_ALIAS)
+ ADD_CUSTOM_TARGET(${CTEST_TEST_TARGET_ALIAS}
+ ${CMAKE_CTEST_COMMAND} ${__conf_types}
+ )
+ ENDIF()
ENDIF(NOT _CTEST_TARGETS_ADDED)
-----------------------------------------------------------------------
Summary of changes:
Modules/CTestTargets.cmake | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list