diff options
author | Brad King <brad.king@kitware.com> | 2014-06-23 20:33:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-23 20:47:49 (GMT) |
commit | 7abd574798f9900abfe502f3941cffaa774062b1 (patch) | |
tree | c930e472ac4fdb02b18b1ea3743d56013c3e4bf5 /Help | |
parent | 0474aa4a78d74f971f6be5d3c4209c46bd6e02e9 (diff) | |
download | CMake-7abd574798f9900abfe502f3941cffaa774062b1.zip CMake-7abd574798f9900abfe502f3941cffaa774062b1.tar.gz CMake-7abd574798f9900abfe502f3941cffaa774062b1.tar.bz2 |
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>
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake.1.rst | 2 | ||||
-rw-r--r-- | Help/release/dev/cmake-E-env.rst | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 5743ab7..8dfc16a 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -38,7 +38,7 @@ Options For true platform independence, CMake provides a list of commands that can be used on all systems. Run with -E help for the usage information. Commands available are: chdir, compare_files, copy, - copy_directory, copy_if_different, echo, echo_append, environment, + copy_directory, copy_if_different, echo, echo_append, env, environment, make_directory, md5sum, remove, remove_directory, rename, sleep, tar, time, touch, touch_nocreate. In addition, some platform specific commands are available. On Windows: delete_regv, write_regv. On diff --git a/Help/release/dev/cmake-E-env.rst b/Help/release/dev/cmake-E-env.rst new file mode 100644 index 0000000..4bdcd0c --- /dev/null +++ b/Help/release/dev/cmake-E-env.rst @@ -0,0 +1,4 @@ +cmake-E-env +----------- + +* The :manual:`cmake(1)` ``-E`` option learned a new ``env`` command. |