Merge topic 'configure_file-NEWLINE_STYLE-no-warn'

024e25e4 Tests: Add more signature tests to RunCMake.configure_file test
3ef776fc configure_file: Do not warn about newline style arguments
This commit is contained in:
Brad King
2015-03-10 09:12:24 -04:00
committed by CMake Topic Stage
28 changed files with 61 additions and 42 deletions
+7
View File
@@ -100,6 +100,13 @@ bool cmConfigureFileCommand
{
/* Ignore legacy option. */
}
else if(args[i] == "NEWLINE_STYLE" ||
args[i] == "LF" || args[i] == "UNIX" ||
args[i] == "CRLF" || args[i] == "WIN32" ||
args[i] == "DOS")
{
/* Options handled by NewLineStyle member above. */
}
else
{
unknown_args += " ";