Be consistent with single and double quotes

This commit is contained in:
Ben Boeckel 2010-09-02 12:14:06 -04:00
parent 4cf17062d3
commit 439877f620
2 changed files with 4 additions and 4 deletions

View File

@ -4496,7 +4496,7 @@ void cmake::RunCheckForUnusedVariables() const
{ {
if(!it->second) if(!it->second)
{ {
std::string message = "warning: The variable, \"" + it->first + "\", given " std::string message = "warning: The variable, '" + it->first + "', given "
"on the command line, was not used within the build."; "on the command line, was not used within the build.";
cmSystemTools::Message(message.c_str()); cmSystemTools::Message(message.c_str());
} }

View File

@ -1082,9 +1082,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-noclean --build-noclean
--build-project WarnUnusedCliUnused --build-project WarnUnusedCliUnused
--build-options "-DUNUSED_VARIABLE=Unused") --build-options "-DUNUSED_CLI_VARIABLE=Unused")
SET_TESTS_PROPERTIES(WarnUnusedCliUnused PROPERTIES SET_TESTS_PROPERTIES(WarnUnusedCliUnused PROPERTIES
PASS_REGULAR_EXPRESSION "warning: The variable, \"UNUSED_VARIABLE\"") PASS_REGULAR_EXPRESSION "warning: The variable, 'UNUSED_CLI_VARIABLE'")
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedCliUnused") LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedCliUnused")
ADD_TEST(WarnUnusedCliUsed ${CMAKE_CTEST_COMMAND} ADD_TEST(WarnUnusedCliUsed ${CMAKE_CTEST_COMMAND}
@ -1099,7 +1099,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
SET_TESTS_PROPERTIES(WarnUnusedCliUsed PROPERTIES SET_TESTS_PROPERTIES(WarnUnusedCliUsed PROPERTIES
PASS_REGULAR_EXPRESSION "Usage proven") PASS_REGULAR_EXPRESSION "Usage proven")
SET_TESTS_PROPERTIES(WarnUnusedCliUsed PROPERTIES SET_TESTS_PROPERTIES(WarnUnusedCliUsed PROPERTIES
FAIL_REGULAR_EXPRESSION "warning: The variable, \"USED_VARIABLE\"") FAIL_REGULAR_EXPRESSION "warning: The variable, 'USED_VARIABLE'")
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedCliUsed") LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedCliUsed")
ADD_TEST(WarnUninitialized ${CMAKE_CTEST_COMMAND} ADD_TEST(WarnUninitialized ${CMAKE_CTEST_COMMAND}