/conan-curl-scripts

Scripts to build curl Conan packages

Primary LanguageShellMIT LicenseMIT

Conan curl

This repository contains a conan receipe that can be used to build curl packages.

For Infos about curl please visit curl.haxx.se.
The library is licensed under the curl License.
This repository is licensed under the MIT License.

Android

The environmental ANDROID_NDK_PATH must be set to the path of the android ndk.

To create a package for Android you can run the following commands like:

export ANDROID_NDK_PATH='/opt/android-ndks/android-ndk-r19c' conan create . curl/7.76.1@rgpaul/stable -s os=Android -s os.api_level=21 -s compiler=clang -s compiler.version=8.0 -s compiler.libcxx=libc++ -s build_type=Release -o android_ndk=r19c -o android_stl_type=c++_static -s arch=x86_64

Requirements

Debian 9 (Stretch)

To create a package for Debian you can run the conan command like this:

conan create . curl/7.76.1@rgpaul/stable -s os=Linux -s arch=x86_64 -s build_type=Release -o shared=False

Requirements

  • CMake
  • Conan
  • build-essential, make, curl, git, unzip and zip (apt-get install build-essential cmake curl git unzip zip)

iOS

To create a package for iOS you can run the conan command like this:

conan create . curl/7.76.1@rgpaul/stable -s os=iOS -s os.version=12.1 -s arch=armv7 -s build_type=Release -o shared=False

Requirements

macOS

To create a package for macOS you can run the conan command like this:

conan create . curl/7.76.1@rgpaul/stable -s os=Macos -s os.version=10.14 -s arch=x86_64 -s build_type=Release -o shared=False

Requirements

Windows 10

To create a package for Windows 10 you can run the conan command like this:

conan create . curl/7.76.1@rgpaul/stable -s os=Windows -s compiler="Visual Studio" -s compiler.runtime=MT -s arch=x86 -s build_type=Release -o shared=False

Requirements