Conan recipe for Google Benchmark library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test_package Conan generator switched to cmake Oct 10, 2018
.gitignore Initial version Dec 3, 2017
.travis.yml CI scripts and README updated Jul 18, 2018
LICENSE.md Package refactoring before CppCon Sep 22, 2018
README.md README updated Sep 29, 2018
appveyor.yml CI scripts and README updated Jul 18, 2018
conanfile.py Conan generator switched to cmake Oct 10, 2018

README.md

GitHub license Travis CI AppVeyor Download

conan-google-benchmark

conan-mpusz package for Google Benchmark library.

The package generated with this conanfile can be found at conan-mpusz.

conan client can be downloaded from Conan.io.

Reuse the package

Add conan-mpusz remote

To add conan-mpusz remote to your local conan instance run:

conan remote add conan-mpusz https://api.bintray.com/conan/mpusz/conan-mpusz

Basic setup

$ conan install google-benchmark/1.4.1@mpusz/stable --build=missing

Project setup

If you handle multiple dependencies in your project, it would be better to add a conanfile.txt

[requires]
google-benchmark/1.4.1@mpusz/stable

[options]

[generators]
cmake_paths

or if you are using conanfile.py file add:

requires = "google-benchmark/1.4.1@mpusz/stable"

Complete the installation of requirements for your project running:

mkdir build
cd build
conan install .. --build=outdated <your_profile_and_settings>
<your typical build process>

Project setup installs the library (and all its dependencies), and assuming you chose cmake_paths as a generator, it generates conan_paths.cmake file that defines variables to make CMake find_package() work and find all the dependencies in the Conan local cache.

Build package

$ conan create . <user>/<channel> <your_profile_and_settings>

Upload package to server

$ conan upload -r <remote-name> --all google-benchmark/1.4.1@<user>/<channel>