From 44d6f3ce0839ba0407dc095d1edc1f30e732b719 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 4 Feb 2015 21:52:00 +0100 Subject: [PATCH 1/2] Help: Add some cross-linking. --- Help/command/add_custom_command.rst | 2 +- Help/command/add_custom_target.rst | 2 +- Help/manual/cmake-packages.7.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index 1307a58c5..e646c567b 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -147,7 +147,7 @@ The options are: ``USES_TERMINAL`` The command will be given direct access to the terminal if possible. With the :generator:`Ninja` generator, this places the command in - the ``console`` pool. + the ``console`` :prop_gbl:`pool `. ``VERBATIM`` All arguments to the commands will be escaped properly for the diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst index 5134a70de..82d69db9f 100644 --- a/Help/command/add_custom_target.rst +++ b/Help/command/add_custom_target.rst @@ -103,7 +103,7 @@ The options are: ``USES_TERMINAL`` The command will be given direct access to the terminal if possible. With the :generator:`Ninja` generator, this places the command in - the ``console`` pool. + the ``console`` :prop_gbl:`pool `. ``WORKING_DIRECTORY`` Execute the command with the given current working directory. diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst index fba1d61ec..3367ba472 100644 --- a/Help/manual/cmake-packages.7.rst +++ b/Help/manual/cmake-packages.7.rst @@ -358,7 +358,7 @@ and a ``cmake/ClimbingStatsConfig.cmake`` are installed to the same location, completing the package. The generated :prop_tgt:`IMPORTED` targets have appropriate properties set -to define their usage requirements, such as +to define their :ref:`usage requirements `, such as :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`, :prop_tgt:`INTERFACE_COMPILE_DEFINITIONS` and other relevant built-in ``INTERFACE_`` properties. The ``INTERFACE`` variant of user-defined From f9839c491ef926b71487345fdcc7054324587168 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 4 Feb 2015 21:52:13 +0100 Subject: [PATCH 2/2] Help: Document build targets automatically added to console pool. --- Help/prop_gbl/JOB_POOLS.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Help/prop_gbl/JOB_POOLS.rst b/Help/prop_gbl/JOB_POOLS.rst index 98b9f7eae..2ce74b81c 100644 --- a/Help/prop_gbl/JOB_POOLS.rst +++ b/Help/prop_gbl/JOB_POOLS.rst @@ -18,3 +18,6 @@ Defined pools could be used globally by setting :variable:`CMAKE_JOB_POOL_COMPILE` and :variable:`CMAKE_JOB_POOL_LINK` or per target by setting the target properties :prop_tgt:`JOB_POOL_COMPILE` and :prop_tgt:`JOB_POOL_LINK`. + +Build targets provided by CMake that are meant for individual interactive +use, such as ``install``, are placed in the ``console`` pool automatically.