From 9bad505e920eb291dba03c5df934bf4fedf88fa5 Mon Sep 17 00:00:00 2001 From: Morwenn Date: Sat, 17 Oct 2020 14:28:06 +0200 Subject: [PATCH] Add instructions to install the library with Conan [ci skip] --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index afb1341..efbc475 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ std::vector vec; gfx::timsort(vec.begin(), vec.end(), std::less(), &len); ``` -## COMPATIBILITY +## INSTALLATION & COMPATIBILITY This library is compatible with C++98, but if you compile it with C++11 or higher it will try to use `std::move()` when possible instead of copying vaues around, which notably allows to sort collections of move-only types (see @@ -67,6 +67,13 @@ cd build make install ``` +Alternatively the library is also available on conan-center-index and can be installed in your local Conan cache via +the following command: + +```sh +conan install timsort/1.2.1 +``` + ## DIAGNOSTICS & INFORMATION A few configuration macros allow gfx::timsort to emit diagnostic, which might be helpful to diagnose issues: