Merge topic 'tests-RunCMake-no-unused'

7cd239ed Tests/RunCMake: Tell cmake not to report unused command-line options
This commit is contained in:
Brad King 2014-02-28 09:48:40 -05:00 committed by CMake Topic Stage
commit a4656986e1
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ function(run_cmake test)
-G "${RunCMake_GENERATOR}" -G "${RunCMake_GENERATOR}"
-T "${RunCMake_GENERATOR_TOOLSET}" -T "${RunCMake_GENERATOR_TOOLSET}"
-DRunCMake_TEST=${test} -DRunCMake_TEST=${test}
--no-warn-unused-cli
${RunCMake_TEST_OPTIONS} ${RunCMake_TEST_OPTIONS}
WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}" WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}"
OUTPUT_VARIABLE actual_stdout OUTPUT_VARIABLE actual_stdout