fix some typos

This commit is contained in:
Thom Troy 2019-04-06 22:29:57 +01:00
parent 787fe64ab8
commit 25a65ed428
5 changed files with 10 additions and 10 deletions

View File

@ -10,4 +10,4 @@ Using your system provided packages is one of the oldest and most common form of
# Examples
I have already show how to do this in the link:https://github.com/ttroy50/cmake-examples/tree/master/01-basic/H-third-party-library[third party libray] example from the basic section and the link:https://github.com/ttroy50/cmake-examples/tree/master/05-unit-testing/boost[boost unit test] example.
I have already shown how to do this in the link:https://github.com/ttroy50/cmake-examples/tree/master/01-basic/H-third-party-library[third party library] example from the basic section and the link:https://github.com/ttroy50/cmake-examples/tree/master/05-unit-testing/boost[boost unit test] example.

View File

@ -6,7 +6,7 @@ toc::[]
# Introduction
Vendoring code means to include the third party code inside your repository and building it as part of your project. It is a way to insure that all files required to build your project are part of the development environment.
Vendoring code means to include the third party code inside your repository and build it as part of your project. It is a way to ensure that all files required to build your project are part of the development environment.
# Implementation
@ -34,9 +34,9 @@ If the third party code doesn't support CMake, you may need to create a "shim" l
## Using git to vendor code
An slightly different method to maintain the third party code can be to use your SCM software to manage the process for you.
A slightly different method to include the third party code can be to use your SCM software to manage the process for you.
In the case of git, you can use link:https://git-scm.com/book/en/v2/Git-Tools-Submodules[git sub-modules] or link:https://git-scm.com/book/en/v1/Git-Tools-Subtree-Merging[git subtree] to pull the correct version of the third party code into your repository on initialisation / update.
In the case of git, you can use link:https://git-scm.com/book/en/v2/Git-Tools-Submodules[git sub-modules] or link:https://git-scm.com/book/en/v1/Git-Tools-Subtree-Merging[git subtree]. These can pull the correct version of the third party code into your repository on initialisation / update.
# Examples

View File

@ -14,7 +14,7 @@ Once configured an external project will generate a custom target which can be u
## Standard
A standard example of an external project is as follows:
A simple example of an external project is as follows:
[source,cmake]
----
@ -35,6 +35,6 @@ By default the project is assumed to work via CMake and external project will kn
## Alternative
An alternative method to install packages is to have the ExternalProject command run at CMake configure time. This can cause the download to happen at teh configure step and you may then use +add_subdirectory+ to add the project to your code (assuming it uses CMake). An example of this can be found in the link:https://github.com/ttroy50/cmake-examples/tree/master/05-unit-testing/google-test-download[google-test-download] tutorial.
An alternative method to install packages is to have the ExternalProject command run at CMake configure time. This can cause the download to happen at the configure step and you may then use +add_subdirectory+ to add the project to your code (assuming it uses CMake). An example of this can be found in the link:https://github.com/ttroy50/cmake-examples/tree/master/05-unit-testing/google-test-download[google-test-download] tutorial.
A more generic version of the download code can be found link:https://github.com/Crascit/DownloadProject[here].

View File

@ -67,7 +67,7 @@ If you are using GCC compiler >= 5.1, Conan will set the compiler.libcxx to the
[source,bash]
----
$ conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
$ conan profile update settings.compiler.libcxx=libstdc++11 default
----
[source,bash]
@ -89,7 +89,7 @@ build_type=Release
You can find more information about this link:https://docs.conan.io/en/latest/howtos/manage_gcc_abi.html#manage-gcc-abi[here].
====
All examples provided will assume that the ABI being used for libstdc++ is the C++11 ABI.
All examples provided will assume that the ABI being used for libstdc++ is the Cpp11 ABI.
# Finding Packages

View File

@ -6,7 +6,7 @@ toc::[]
# Introduction
link:http://conan.io[Conan] supports downloading libraries and making them available to an application developers. Packages are defined in the +link:https://docs.conan.io/en/latest/using_packages/conanfile_txt.htm[conanfile.txt]+ file, which defines packages, options, and the link:https://docs.conan.io/en/latest/reference/generators.html#generators-reference[generators] for your project.
link:http://conan.io[Conan] supports downloading libraries and making them available to an application developers. Packages are defined in the link:https://docs.conan.io/en/latest/using_packages/conanfile_txt.html[+conanfile.txt+] file, which defines packages, options, and the link:https://docs.conan.io/en/latest/reference/generators.html#generators-reference[generators] for your project.
The files in this tutorial are below: