summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-12-04 22:30:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-12-04 22:33:50 (GMT)
commit31452416ba1be692b55ed09f8cf39fa2914ad349 (patch)
tree8b7b9f026adc7d547c96792d9b74fb47225c948d /Help
parentb96b025b2a337d7b09157f8b24cf9ca77a825863 (diff)
downloadCMake-31452416ba1be692b55ed09f8cf39fa2914ad349.zip
CMake-31452416ba1be692b55ed09f8cf39fa2914ad349.tar.gz
CMake-31452416ba1be692b55ed09f8cf39fa2914ad349.tar.bz2
Help: Add useful links to IMPORTED targets and usage requirements.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-developer.7.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst
index f054d83..d928097 100644
--- a/Help/manual/cmake-developer.7.rst
+++ b/Help/manual/cmake-developer.7.rst
@@ -730,10 +730,9 @@ below. This is what most of the existing find modules provided by CMake
do.
The more modern approach is to behave as much like
-``<package>Config.cmake`` files as possible, by providing imported
-targets. As well as matching how ``*Config.cmake`` files work, the
-libraries, include directories and compile definitions are all set just
-by using the target in a :command:`target_link_libraries` call.
+:ref:`config file packages <Config File Packages>` files as possible, by
+providing :ref:`imported target <Imported targets>`. This has the advantage
+of propagating :ref:`Target Usage Requirements` to consumers.
In either case (or even when providing both variables and imported
targets), find modules should provide backwards compatibility with old