mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
Update toc and headings #3
This commit is contained in:
@@ -1,14 +1,10 @@
|
|||||||
= Installing
|
= Installing
|
||||||
|
|
||||||
:toc:
|
:toc:
|
||||||
:toc-placement!:
|
:toc-placement!:
|
||||||
|
|
||||||
toc::[]
|
toc::[]
|
||||||
|
|
||||||
|
# Introduction
|
||||||
[[intro]]
|
|
||||||
Introduction
|
|
||||||
------------
|
|
||||||
|
|
||||||
This example shows how to generate a `make install` target to install files and
|
This example shows how to generate a `make install` target to install files and
|
||||||
binaries on your system. This is based on the previous shared library example.
|
binaries on your system. This is based on the previous shared library example.
|
||||||
@@ -34,13 +30,9 @@ $ tree
|
|||||||
* src/Hello.cpp - A source file to compile
|
* src/Hello.cpp - A source file to compile
|
||||||
* src/main.cpp - The source file with main
|
* src/main.cpp - The source file with main
|
||||||
|
|
||||||
[[concepts]]
|
# Concepts
|
||||||
Concepts
|
|
||||||
~~~~~~~~
|
|
||||||
|
|
||||||
[[install]]
|
## Installing
|
||||||
Installing
|
|
||||||
^^^^^^^^^^
|
|
||||||
|
|
||||||
CMake offers the ability to add a `make install` target to allow a user to
|
CMake offers the ability to add a `make install` target to allow a user to
|
||||||
install binaries, libraries and other files. The base install location is controlled
|
install binaries, libraries and other files. The base install location is controlled
|
||||||
@@ -97,9 +89,7 @@ If you run the `make install` command as root, the install_manifest.txt file wil
|
|||||||
be owned by root.
|
be owned by root.
|
||||||
====
|
====
|
||||||
|
|
||||||
[[building-the-example]]
|
# Building the Example
|
||||||
Building the Example
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
|
|||||||
Reference in New Issue
Block a user