CMake/Tests/RunCMake/CommandLine
Michael Scott c96fe0b40d cmake: Add -W options to control deprecation warnings and errors
Refactor the -Wdev and -Wno-dev to use a generic -W parser that follows
the GCC pattern.  Include support for setting CMAKE_ERROR_DEPRECATED and
CMAKE_WARN_DEPRECATED via the deprecated warning.  Add -Werror=dev and
-Wno-error=dev options so that dev warning options are in line with
deprecated warning options.  Use a new CMAKE_SUPPRESS_DEVELOPER_ERRORS
internal cache entry to store the above new dev options persistently.
Add tests for new options and updated cmake documentation and release
notes to list new options.
2015-07-29 09:20:10 -04:00
..
BuildDir cmake: Fix --build <relative-dir> for VS generators (#15609) 2015-06-11 16:04:21 -04:00
cache-bad-generator cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
cache-no-generator cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
cmake_depends Makefile: Tolerate a BOM while scanning source dependencies (#15493) 2015-04-03 13:04:57 -04:00
Build-ninja-v-stdout.txt Tests: Extend RunCMake.CommandLine to cover 'cmake --build' for 'ninja -v' 2015-02-26 10:21:09 -05:00
Build.cmake Tests: Extend RunCMake.CommandLine to cover 'cmake --build' for 'ninja -v' 2015-02-26 10:21:09 -05:00
BuildDir.cmake cmake: Fix --build <relative-dir> for VS generators (#15609) 2015-06-11 16:04:21 -04:00
C-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
C-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
C-no-file-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
C-no-file-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
CMakeLists.txt Tests: test -D parsing on the command line 2014-10-20 12:17:03 -04:00
D-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
D-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
D_nested_cache-stderr.txt cmCacheManager: parse -D flags more strictly 2014-10-20 12:17:19 -04:00
D_nested_cache.cmake Tests: test -D parsing on the command line 2014-10-20 12:17:03 -04:00
D_typed_nested_cache-stderr.txt Tests: test -D parsing on the command line 2014-10-20 12:17:03 -04:00
D_typed_nested_cache.cmake Tests: test -D parsing on the command line 2014-10-20 12:17:03 -04:00
DeprecateVS6-WARN-OFF.cmake Deprecate Visual Studio 6 generator 2015-04-15 09:08:57 -04:00
DeprecateVS6-WARN-ON-stderr.txt Deprecate Visual Studio 6 generator 2015-04-15 09:08:57 -04:00
DeprecateVS6-WARN-ON.cmake Deprecate Visual Studio 6 generator 2015-04-15 09:08:57 -04:00
DeprecateVS70-WARN-OFF.cmake Deprecate Visual Studio 7 generator (.NET 2002) 2015-04-15 09:21:24 -04:00
DeprecateVS70-WARN-ON-stderr.txt Deprecate Visual Studio 7 generator (.NET 2002) 2015-04-15 09:21:24 -04:00
DeprecateVS70-WARN-ON.cmake Deprecate Visual Studio 7 generator (.NET 2002) 2015-04-15 09:21:24 -04:00
E-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E___run_iwyu-bad-iwyu-result.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-bad-iwyu-stderr.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-no----result.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-no----stderr.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-no-cc-result.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-no-cc-stderr.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-no-iwyu-result.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E___run_iwyu-no-iwyu-stderr.txt cmake: Add internal -E mode to run include-what-you-use with the compiler 2015-05-19 13:16:29 -04:00
E_create_symlink-broken-create-check.cmake
E_create_symlink-broken-replace-check.cmake
E_create_symlink-missing-dir-result.txt
E_create_symlink-missing-dir-stderr.txt
E_create_symlink-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E_create_symlink-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E_create_symlink-no-replace-dir-result.txt
E_create_symlink-no-replace-dir-stderr.txt
E_env-bad-arg1-result.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-bad-arg1-stderr.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-no-command0-result.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-no-command0-stderr.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-no-command1-result.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-no-command1-stderr.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-set-stdout.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-set.cmake cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-unset-stdout.txt cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_env-unset.cmake cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -04:00
E_rename-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E_rename-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E_sleep-bad-arg1-result.txt cmake: Add '-E sleep' command 2014-01-21 13:50:49 -05:00
E_sleep-bad-arg1-stderr.txt cmake: Add '-E sleep' command 2014-01-21 13:50:49 -05:00
E_sleep-bad-arg2-result.txt cmake: Add '-E sleep' command 2014-01-21 13:50:49 -05:00
E_sleep-bad-arg2-stderr.txt cmake: Add '-E sleep' command 2014-01-21 13:50:49 -05:00
E_sleep-no-args-result.txt cmake: Add '-E sleep' command 2014-01-21 13:50:49 -05:00
E_sleep-no-args-stderr.cmake cmake: Add '-E sleep' command 2014-01-21 13:50:49 -05:00
E_touch_nocreate-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
E_touch_nocreate-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
G_bad-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
G_bad-arg-stderr.txt cmake: Provide guidance when an invalid -G option is given 2015-04-10 15:14:34 -04:00
G_no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
G_no-arg-stderr.txt cmake: Provide guidance when an invalid -G option is given 2015-04-10 15:14:34 -04:00
NoArgs-stdout.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
P_directory-result.txt cmake: Do not open directories as scripts (#14966) 2014-06-09 16:21:11 -04:00
P_directory-stderr.txt cmake: Do not open directories as scripts (#14966) 2014-06-09 16:21:11 -04:00
P_no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
P_no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
P_no-file-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
P_no-file-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
RunCMakeTest.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
U-no-arg-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
U-no-arg-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
W_bad-arg1-result.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
W_bad-arg1-stderr.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
W_bad-arg2-result.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
W_bad-arg2-stderr.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
W_bad-arg3-result.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
W_bad-arg3-stderr.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Wdeprecated-stderr.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Wdeprecated.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Wdev-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
Wdev.cmake Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
Werror_deprecated-result.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Werror_deprecated-stderr.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Werror_deprecated.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Werror_dev-result.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Werror_dev-stderr.txt cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Werror_dev.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Wno-deprecated.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Wno-dev.cmake Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
Wno-error_deprecated.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
Wno-error_dev.cmake cmake: Add -W options to control deprecation warnings and errors 2015-07-29 09:20:10 -04:00
build-bad-dir-result.txt cmake: Fix --build <relative-dir> for VS generators (#15609) 2015-06-11 16:04:21 -04:00
build-bad-dir-stderr.txt cmake: Fix --build <relative-dir> for VS generators (#15609) 2015-06-11 16:04:21 -04:00
build-bad-generator-result.txt cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
build-bad-generator-stderr.txt cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
build-no-cache-result.txt cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
build-no-cache-stderr.txt cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
build-no-dir-result.txt Tests: Extend RunCMake.CommandLine to cover --build with no arg 2015-06-11 15:58:52 -04:00
build-no-dir-stderr.txt Tests: Extend RunCMake.CommandLine to cover --build with no arg 2015-06-11 15:58:52 -04:00
build-no-generator-result.txt cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
build-no-generator-stderr.txt cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -04:00
cache-no-file-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
cache-no-file-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
cmake_depends-check.cmake Makefile: Tolerate a BOM while scanning source dependencies (#15493) 2015-04-03 13:04:57 -04:00
cmake_depends-stdout.txt Makefile: Tolerate a BOM while scanning source dependencies (#15493) 2015-04-03 13:04:57 -04:00
debug-output-stdout.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
debug-output.cmake Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
debug-trycompile.cmake Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
lists-no-file-result.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
lists-no-file-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
trace-expand-stderr.txt cmake: add --trace-expand option 2015-07-23 15:33:10 -04:00
trace-expand.cmake cmake: add --trace-expand option 2015-07-23 15:33:10 -04:00
trace-stderr.txt Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00
trace.cmake Tests: Move more command line tests into RunCMake.CommandLine 2015-04-10 14:56:41 -04:00