From 9b988d9e57c432ed894e06406420d8d1949cf85f Mon Sep 17 00:00:00 2001 From: Betsy McPhail Date: Fri, 25 Sep 2020 15:29:05 -0400 Subject: Help: Cleanup guides * Move sections to be same level as Introduction in "Using Dependecies" * Rename "Importing Exporting Targets" to "Importing Exporting Guide" * Add an Introduction header to the Tutorial and Importing Exporting Guide --- Help/guide/importing-exporting/index.rst | 7 +++++-- Help/guide/tutorial/index.rst | 3 +++ Help/guide/using-dependencies/index.rst | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Help/guide/importing-exporting/index.rst b/Help/guide/importing-exporting/index.rst index b0cfb71..2e6e06d 100644 --- a/Help/guide/importing-exporting/index.rst +++ b/Help/guide/importing-exporting/index.rst @@ -1,10 +1,13 @@ -Importing and Exporting Targets -******************************* +Importing and Exporting Guide +***************************** .. only:: html .. contents:: +Introduction +============ + In this guide, we will present the concept of :prop_tgt:`IMPORTED` targets and demonstrate how to import existing executable or library files from disk into a CMake project. We will then show how CMake supports exporting targets diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst index 665d123..4b09e53 100644 --- a/Help/guide/tutorial/index.rst +++ b/Help/guide/tutorial/index.rst @@ -5,6 +5,9 @@ CMake Tutorial .. contents:: +Introduction +============ + The CMake tutorial provides a step-by-step guide that covers common build system issues that CMake helps address. Seeing how various topics all work together in an example project can be very helpful. The tutorial diff --git a/Help/guide/using-dependencies/index.rst b/Help/guide/using-dependencies/index.rst index 6fdcc55..f4d7845 100644 --- a/Help/guide/using-dependencies/index.rst +++ b/Help/guide/using-dependencies/index.rst @@ -31,7 +31,7 @@ See the :guide:`User Interaction Guide` for more about setting cache entries. Libraries providing Config-file packages ----------------------------------------- +======================================== The most convenient way for a third-party to provide library binaries for use with CMake is to provide @@ -115,7 +115,7 @@ file, such as ``/opt/somepackage/lib/cmake/SomePackage/`` in the above example. Imported Targets from Packages ------------------------------- +============================== A third-party package which provides config-file packages may also provide :ref:`Imported targets`. These will be -- cgit v0.12