Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpusz/conan-google-benchmark
Conan recipe for Google Benchmark library
https://github.com/mpusz/conan-google-benchmark
Last synced: about 2 months ago
JSON representation
Conan recipe for Google Benchmark library
- Host: GitHub
- URL: https://github.com/mpusz/conan-google-benchmark
- Owner: mpusz
- License: mit
- Created: 2017-12-03T19:43:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T20:44:24.000Z (almost 5 years ago)
- Last Synced: 2024-10-03T18:19:51.335Z (2 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- AwesomeCppGameDev - conan-google-benchmark
README
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?maxAge=3600)](https://raw.githubusercontent.com/mpusz/conan-google-benchmark/master/LICENSE)
[![Travis CI](https://img.shields.io/travis/com/mpusz/conan-google-benchmark/master.svg?label=Travis%20CI)](https://travis-ci.com/mpusz/conan-google-benchmark)
[![AppVeyor](https://img.shields.io/appveyor/ci/mpusz/conan-google-benchmark/master.svg?label=AppVeyor)](https://ci.appveyor.com/project/mpusz/conan-google-benchmark)
[![Download](https://api.bintray.com/packages/mpusz/conan-mpusz/google-benchmark%3Ampusz/images/download.svg)](https://bintray.com/mpusz/conan-mpusz/google-benchmark%3Ampusz/_latestVersion)# DEPRECATED
Please note that as Google Benchmark now has an official Conan support this repository should be considered
deprecated. Please download the latest google benchmark from: .---
# conan-google-benchmark
[conan-mpusz](https://bintray.com/mpusz/conan-mpusz) package for [Google Benchmark](https://github.com/google/benchmark) library.
The package generated with this **conanfile** can be found at [conan-mpusz](https://bintray.com/mpusz/conan-mpusz/google-benchmark%3Ampusz).
`conan` client can be downloaded from [Conan.io](https://conan.io).
## Reuse the package
### Add conan-mpusz remote
To add [conan-mpusz](https://bintray.com/mpusz/conan-mpusz) remote to your
local `conan` instance run:```bash
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:
```python
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```
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 . /
```## Upload package to server
```
$ conan upload -r --all google-benchmark/1.4.1@/
```