CMake/Tests/RunCMake/CommandLine
Brad King 44e2923f33 cmake: Fix --build crash on bad CMAKE_GENERATOR in cache
If we fail to create the generator named by CMAKE_GENERATOR, exit
with an error message instead of crashing.  While at it, fix the
wording of the error message when CMAKE_GENERATOR is not set.

Extend the RunCMake.CommandLine test with cases covering the
"cmake --build" option when the named directory does not provide
a CMakeCache.txt with a valid CMAKE_GENERATOR.
2014-06-03 11:52:19 -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
E_create_symlink-broken-create-check.cmake cmake: Improve '-E create_symlink' edge case handling (#14713) 2014-01-20 14:02:21 -05:00
E_create_symlink-broken-replace-check.cmake cmake: Improve '-E create_symlink' edge case handling (#14713) 2014-01-20 14:02:21 -05:00
E_create_symlink-missing-dir-result.txt cmake: Improve '-E create_symlink' edge case handling (#14713) 2014-01-20 14:02:21 -05:00
E_create_symlink-missing-dir-stderr.txt cmake: Improve '-E create_symlink' edge case handling (#14713) 2014-01-20 14:02:21 -05:00
E_create_symlink-no-replace-dir-result.txt cmake: Improve '-E create_symlink' edge case handling (#14713) 2014-01-20 14:02:21 -05:00
E_create_symlink-no-replace-dir-stderr.txt cmake: Improve '-E create_symlink' edge case handling (#14713) 2014-01-20 14:02:21 -05: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
RunCMakeTest.cmake cmake: Fix --build crash on bad CMAKE_GENERATOR in cache 2014-06-03 11:52:19 -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-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