Skip to content

Commit

Permalink
Add instructions to install the library with Conan
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Morwenn committed Oct 17, 2020
1 parent f19d4d6 commit 9bad505
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ std::vector<std::string> vec;
gfx::timsort(vec.begin(), vec.end(), std::less<size_t>(), &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
Expand All @@ -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:
Expand Down

0 comments on commit 9bad505

Please sign in to comment.