On 03/24/2016 12:58 PM, xyzdra...@fastmail.fm wrote:
The CMake 3.5.0 documentation specifies the execute_process command like
this:
execute_process(COMMAND <cmd1> [args1...]]
[COMMAND <cmd2> [args2...] [...]]
[WORKING_DIRECTORY <directory>]
[...] )
This mail here clarifies that all commands should be run sequentially:
https://cmake.org/pipermail/cmake/2009-June/030158.html
TLDR; what that mail states is that add_custom_command/add_custom_target
COMMANDs run in sequence.
You use neither of those.
As stated by the quote from the execute_process() documentation it runs
the commands in parallel by design so that each process's output can be
fed to the next process's input.
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake