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
conan instance run:
conan remote add conan-mpusz https://api.bintray.com/conan/mpusz/conan-mpusz
$ conan install google-benchmark/1.4.1@mpusz/stable --build=missing
If you handle multiple dependencies in your project, it would be better
to add a
[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.
$ 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>