[cmake-developers] Using USES_TERMINAL in ExternalProject.cmake

Nils Gladitz nilsgladitz at gmail.com
Thu Jul 13 16:30:00 EDT 2017


On 13.07.2017 22:19, Robert Dailey wrote:
> I noticed that ExternalProject_Add() has this same issue when run from
> Ninja. I do not see real-time output of the progress. Would it work to
> set USES_TERMINAL for most (if not all) custom commands and targets in
> ExternalProject.cmake?

See the USES_TERMINAL_* options in 
https://cmake.org/cmake/help/latest/module/ExternalProject.html (since 
3.4) but beware that there can be only one job in the console pool at a 
time so this might also reduce parallelization.

Nils


More information about the cmake-developers mailing list