mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00

Introduces `BUILD_JOB_SERVER_AWARE` option to `ExternalProject_Add` and `JOB_SERVER_AWARE` to `ExternalProject_Add_Step`. When using an explicit `BUILD_COMMAND` or `COMMAND`, the generated commands won't use `$(MAKE)` thus failing to connect to the outer make's job server. These new options enable explicit job server integration. Co-authored-by: Brad King <brad.king@kitware.com> Fixes: #16273
11 lines
487 B
ReStructuredText
11 lines
487 B
ReStructuredText
ExternalProject-build-jobserver
|
|
-------------------------------
|
|
|
|
* The :module:`ExternalProject` module now includes the
|
|
``BUILD_JOB_SERVER_AWARE`` option for the
|
|
:command:`ExternalProject_Add` command. This option enables
|
|
the integration of the GNU Make job server when using an
|
|
explicit ``BUILD_COMMAND`` with certain :ref:`Makefile Generators`.
|
|
Additionally, the :command:`ExternalProject_Add_Step` command
|
|
has been updated to support the new ``JOB_SERVER_AWARE`` option.
|