Conan.io package for the aws-sdk-cpp
Bintray | Windows | Linux & macOS |
---|---|---|
$ conan install aws-sdk-cpp/1.7.64@kmaragon/stable
from conans import ConanFile, CMake
class AppConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = "aws-sdk-cpp/1.7.64@kmaragon/stable"
default_options = "aws-sdk-cpp:shared=False", \
"aws-sdk-cpp:build_s3=True"
generators = "cmake"
Complete the installation of requirements for your project running:
conan install .
Project setup installs the libraries (with all needed dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.
Follow the Conan getting started: http://docs.conan.io.
The example below shows the commands used to publish to conan repository.
$ conan remote add kmaragon https://api.bintray.com/conan/kmaragon/conan
Builds a binary package for recipe (conanfile.py) located in current dir. For more info please check conan create.
$ conan create . kmaragon/stable
Uploads a recipe and binary packages to a remote. For more info please check conan upload.
$ conan upload aws-sdk-cpp/1.7.64@kmaragon/stable --all -r kmaragon
Special thanks to @SMelanko for README and contributions beyond just gcc + linux