Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arvidn/conan-boost-build-gen

a conan generator for boost-build
https://github.com/arvidn/conan-boost-build-gen

boost-build conan

Last synced: 26 days ago
JSON representation

a conan generator for boost-build

Awesome Lists containing this project

README

        

Boost Build conan generator
---------------------------

This conan generator generates a ``project-root.jam`` file with ``lib`` targets
for all conan dependencies.

For example, a project depending on ``OpenSSL/1.0.2g@lasote/stable`` will have
the following targets generated::

lib ssl :
: # requirements
ssl
/Users/arvid/.conan/data/OpenSSL/1.0.2g/lasote/stable/package/811d822905b54fc167634e916129401c4f86d1e5/lib
: # default-build
: # usage-requirements
/Users/arvid/.conan/data/OpenSSL/1.0.2g/lasote/stable/package/811d822905b54fc167634e916129401c4f86d1e5/include
;

lib crypto :
: # requirements
crypto
/Users/arvid/.conan/data/OpenSSL/1.0.2g/lasote/stable/package/811d822905b54fc167634e916129401c4f86d1e5/lib
: # default-build
: # usage-requirements
/Users/arvid/.conan/data/OpenSSL/1.0.2g/lasote/stable/package/811d822905b54fc167634e916129401c4f86d1e5/include
;

alias conan-deps :
ssl
crypto
;

In you ``Jamfile``, add a dependency on ``conan-deps``, like this::

exe my_executable : foobar.cpp conan-deps ;

Note that all other target names may be unpredictible.

In order to use this generator, add a dependency on it on your ``conanfile.txt``
and use the ``BoostBuild`` generator.

::

[requires]
BoostBuildGen/1.0@arvidn/testing

[generators]
BoostBuild