diff options
author | Brad King <brad.king@kitware.com> | 2013-07-15 13:30:55 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-07-15 13:30:55 (GMT) |
commit | 0d41e9ea3566716f3e6b3db4ad8403c418c7f5e4 (patch) | |
tree | 44a5e80d0b6e45b40d5e7e902e5c56dcb826d426 | |
parent | cbdea2cca9fbc7e04537f68720e7e291eaece3f7 (diff) | |
parent | 93c116570591ac32bb6d19ee3fc23b9abd348a78 (diff) | |
download | CMake-0d41e9ea3566716f3e6b3db4ad8403c418c7f5e4.zip CMake-0d41e9ea3566716f3e6b3db4ad8403c418c7f5e4.tar.gz CMake-0d41e9ea3566716f3e6b3db4ad8403c418c7f5e4.tar.bz2 |
Merge topic 'doc-ExternalProject-COMMAND-keyword'
93c1165 ExternalProject: Document multiple COMMAND lines
-rw-r--r-- | Modules/ExternalProject.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 6afdb97..3acb4f9 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -114,6 +114,15 @@ # and <TMP_DIR> # with corresponding property values. # +# Any builtin step that specifies a "<step>_COMMAND cmd..." or custom +# step that specifies a "COMMAND cmd..." may specify additional command +# lines using the form "COMMAND cmd...". At build time the commands will +# be executed in order and aborted if any one fails. For example: +# ... BUILD_COMMAND make COMMAND echo done ... +# specifies to run "make" and then "echo done" during the build step. +# Whether the current working directory is preserved between commands +# is not defined. Behavior of shell operators like "&&" is not defined. +# # The 'ExternalProject_Get_Property' function retrieves external project # target properties: # ExternalProject_Get_Property(<name> [prop1 [prop2 [...]]]) |