mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'update-guides'
9b988d9e57 Help: Cleanup guides
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5280
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user