[Cmake-commits] CMake branch, next, updated. v2.8.12.2-1820-gd2042f7
Brad King
brad.king at kitware.com
Thu Feb 27 13:26:03 EST 2014
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 d2042f77d15d238d3a27d466a97b58fb76869b3f (commit)
via 7cd239ed38b2951e7fdd506d24a3f8e723e95b5f (commit)
from b18cb5acb5b1a094e46457514f7bf02cb3b9b735 (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=d2042f77d15d238d3a27d466a97b58fb76869b3f
commit d2042f77d15d238d3a27d466a97b58fb76869b3f
Merge: b18cb5a 7cd239e
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Feb 27 13:26:02 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Feb 27 13:26:02 2014 -0500
Merge topic 'tests-RunCMake-no-unused' into next
7cd239ed Tests/RunCMake: Tell cmake not to report unused command-line options
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7cd239ed38b2951e7fdd506d24a3f8e723e95b5f
commit 7cd239ed38b2951e7fdd506d24a3f8e723e95b5f
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Feb 27 13:22:58 2014 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Feb 27 13:25:23 2014 -0500
Tests/RunCMake: Tell cmake not to report unused command-line options
On OS X we pass -DCMAKE_POLICY_DEFAULT_CMP0025=NEW to all tests.
Once tests start using cmake_minimum_required(VERSION 3.0) then
CMake will warn that CMAKE_POLICY_DEFAULT_CMP0025 is unused.
These warnings are not part of the expected test output and can
cause such tests to fail. Pass --no-warn-unused-cli to each test
cmake invocation to tell it not to produce these warnings.
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake
index 1d1c523..ed3afc5 100644
--- a/Tests/RunCMake/RunCMake.cmake
+++ b/Tests/RunCMake/RunCMake.cmake
@@ -53,6 +53,7 @@ function(run_cmake test)
-G "${RunCMake_GENERATOR}"
-T "${RunCMake_GENERATOR_TOOLSET}"
-DRunCMake_TEST=${test}
+ --no-warn-unused-cli
${RunCMake_TEST_OPTIONS}
WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}"
OUTPUT_VARIABLE actual_stdout
-----------------------------------------------------------------------
Summary of changes:
Tests/RunCMake/RunCMake.cmake | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list