Code Monkey home page Code Monkey logo

conan-boost's Introduction

Build status

Build Status

conan-boost

Conan package for Boost library

Thanks to @DavidZemon for the huge help with cross-building support!

The packages generated with this conanfile can be found on bintray.

Reuse the packages

Basic setup

$ conan install boost/1.68.0@conan/stable

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
boost/1.68.0@conan/stable

[options]
boost:shared=True # False
# Take a look for all available options in conanfile.py

[generators]
cmake

Complete the installation of requirements for your project running:

conan install .

Project setup installs the library (and all his 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

Cross building

The package works cross compiled to ARM, tested from windows, using the SYSGCC toolchain and the following profile:

target_host=arm-linux-gnueabihf
standalone_toolchain=C:/sysgcc/raspberry
cc_compiler=gcc
cxx_compiler=g++

[settings]
os=Linux
arch=armv7
compiler=gcc
compiler.version=6
compiler.libcxx=libstdc++
build_type=Release

[env]
CONAN_CMAKE_FIND_ROOT_PATH=$standalone_toolchain/$target_host/sysroot
SYSROOT=$standalone_toolchain/$target_host/sysroot
PATH=[$standalone_toolchain/bin]
CHOST=$target_host
AR=$target_host-ar
AS=$target_host-as
RANLIB=$target_host-ranlib
LD=$target_host-ld
STRIP=$target_host-strip
CC=$target_host-$cc_compiler
CXX=$target_host-$cxx_compiler
CXXFLAGS=-I"$standalone_toolchain/$target_host/lib/include"

Apply the profile when running "conan install" or "conan create" with --profile option.

conan-boost's People

Contributors

lasote avatar kwallner avatar dkgs avatar piponazo avatar croydon avatar memsharded avatar intelligide avatar a-teammate avatar torbjoernk avatar sixten-hilborn avatar klaussnd avatar kalledk avatar mamut-m avatar wolfgangdvelop avatar tivek avatar bwolf avatar laurabogdan avatar bilke avatar jgsogo avatar georgescrivener avatar helmesjo avatar arekpiekarz avatar 0xdad avatar camobap avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.