mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
Importing and Exporting Targets
|
Importing and Exporting Guide
|
||||||
*******************************
|
*****************************
|
||||||
|
|
||||||
.. only:: html
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
============
|
||||||
|
|
||||||
In this guide, we will present the concept of :prop_tgt:`IMPORTED` targets
|
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
|
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
|
into a CMake project. We will then show how CMake supports exporting targets
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ CMake Tutorial
|
|||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
============
|
||||||
|
|
||||||
The CMake tutorial provides a step-by-step guide that covers common build
|
The CMake tutorial provides a step-by-step guide that covers common build
|
||||||
system issues that CMake helps address. Seeing how various topics all
|
system issues that CMake helps address. Seeing how various topics all
|
||||||
work together in an example project can be very helpful. The tutorial
|
work together in an example project can be very helpful. The tutorial
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ See the :guide:`User Interaction Guide` for
|
|||||||
more about setting cache entries.
|
more about setting cache entries.
|
||||||
|
|
||||||
Libraries providing Config-file packages
|
Libraries providing Config-file packages
|
||||||
----------------------------------------
|
========================================
|
||||||
|
|
||||||
The most convenient way for a third-party to provide library
|
The most convenient way for a third-party to provide library
|
||||||
binaries for use with CMake is to provide
|
binaries for use with CMake is to provide
|
||||||
@@ -115,7 +115,7 @@ file, such as ``/opt/somepackage/lib/cmake/SomePackage/`` in
|
|||||||
the above example.
|
the above example.
|
||||||
|
|
||||||
Imported Targets from Packages
|
Imported Targets from Packages
|
||||||
------------------------------
|
==============================
|
||||||
|
|
||||||
A third-party package which provides config-file packages may
|
A third-party package which provides config-file packages may
|
||||||
also provide :ref:`Imported targets`. These will be
|
also provide :ref:`Imported targets`. These will be
|
||||||
|
|||||||
Reference in New Issue
Block a user