It appears that conan already have support for benchmark/1.5.0.
I am not able to search the same with conan.
akshit:~$ conan search *benchmark*
There are no packages matching the '*benchmark*' pattern
akshit:~$ conan search *benchmark* --remote=conan-center
Existing package recipes:
benchmark/1.5.0
I am wondering how should I go about knowing which package to search and install for google benchmark.
akshit:~$ conan install benchmark/1.5.0
ERROR: Conanfile not found at /home/akshit/benchmark/1.5.0
akshit:~$ conan install benchmark/1.5.0@bincrafter/stable
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8.3
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
benchmark/1.5.0@bincrafter/stable: Not found in local cache, looking in remotes...
benchmark/1.5.0@bincrafter/stable: Trying with 'conan-center'...
benchmark/1.5.0@bincrafter/stable: Trying with 'conan-community'...
benchmark/1.5.0@bincrafter/stable: Trying with 'bincrafters'...
ERROR: Unable to find 'benchmark/1.5.0@bincrafter/stable' in remotes
Try conan install benchmark/1.5.0@_/_ without the @user/channel the command line does not know to search the remotes when installing.
Thanks, it's working with conan install benchmark/1.5.0@_/_.
conan install benchmark/1.5.0@ is shorter and works too 馃槃
@akshit-sharma prefer @Croydon approaches. The underscore are just placeholders and have no effect.
Most helpful comment
conan install benchmark/1.5.0@is shorter and works too 馃槃