summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorChris Mahoney <chris.mahoney@kitware.com>2023-08-09 14:28:25 (GMT)
committerChris Mahoney <chris.mahoney@kitware.com>2023-08-15 12:21:30 (GMT)
commitbc43398e72be08b55d7df1f5195f0c3fc37506da (patch)
tree042e77e41a12cfeebf759b6aff2f09640c9177e4 /Help
parent99be022428dcbf505cf889ff5d6f8de62821f652 (diff)
downloadCMake-bc43398e72be08b55d7df1f5195f0c3fc37506da.zip
CMake-bc43398e72be08b55d7df1f5195f0c3fc37506da.tar.gz
CMake-bc43398e72be08b55d7df1f5195f0c3fc37506da.tar.bz2
ExternalProject: Enable Make Job Server with Explicit Build Command
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
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/ExternalProject-build-jobserver.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/release/dev/ExternalProject-build-jobserver.rst b/Help/release/dev/ExternalProject-build-jobserver.rst
new file mode 100644
index 0000000..357da42
--- /dev/null
+++ b/Help/release/dev/ExternalProject-build-jobserver.rst
@@ -0,0 +1,10 @@
+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.