From 2ce380d0115b396af7ec4d689c76831d36e50781 Mon Sep 17 00:00:00 2001 From: Thom Troy Date: Sun, 31 Mar 2019 22:27:53 +0100 Subject: [PATCH] add system packages --- .../A-using-system-provide-packages/README.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 07-package-management/A-using-system-provide-packages/README.adoc diff --git a/07-package-management/A-using-system-provide-packages/README.adoc b/07-package-management/A-using-system-provide-packages/README.adoc new file mode 100644 index 0000000..e4d4e66 --- /dev/null +++ b/07-package-management/A-using-system-provide-packages/README.adoc @@ -0,0 +1,14 @@ += Using System Provided Package Manager + +:toc: +:toc-placement!: + +toc::[] + +# Introduction + +Using your system provided packages is one of the oldest and most common form of package management solutions. For this, you use your systems package installer (e.g. apt, yum) to install libraries and headers into common locations. CMake can then use the `find_package()` function to search for these and make them available to your program. + +# 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. \ No newline at end of file