Ninja: Command-line support for Parallel Install
!9505 (merged) adds targets to the Ninja generator for installing a project in parallel at the directory level.
Allowing cmake --install
to take advantage of this behavior is more complicated due to the fact that the current implementation calls cmake -P cmake_install.cmake
directly and can't interact with the build system.
The install process could potentially be refactored to go through the build system, with environment variables used to pass the various flags to the cmake_install.cmake
scripts. There may need to be some way to determine at install time whether the project was configured with the parallel install enabled.