CMake/Tests/RunCMake/CommandLine
Brad King 7abd574798 cmake: Add '-E env' command-line tool
Extend the cmake command-line interface to support

 cmake -E env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]...

This will be useful to run processes with modified environments
without using a shell or a full "cmake -P" script to wrap it.

Extend the RunCMake.CommandLine test to cover success and failure cases.

Inspired-by: Jonathan Bohren <jbo@jhu.edu>
2014-06-23 16:47:49 -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
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-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_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
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
RunCMakeTest.cmake cmake: Add '-E env' command-line tool 2014-06-23 16:47:49 -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