[osg-users] Conan C++ dependency manager

Julien Valentin julienvalentin51 at gmail.com
Thu Jan 11 01:29:25 PST 2018

Okay, i'm happy that conan induces such an enthusiasm,
My plan is to create a repo for all osg ecosystem:
-top directory (packagename, OpenSceneGraph, osgEarth, osgAudio...)
    -subdirs containing versionned recipe

But I don't have all the necessary knowledge of its mecanism in order to tell my vision is the good one. So anyone more familiar with conan have to stop me if I say bullshit. 
Here's my 2 main observations that would require deepest knowledge of conan
1)conan seams to manage built package itself in custom directory so we can't forsee that 
2)conan is userspace so we can't manage environement variables or any root stuff

it forces me to choose an alternative to classic "one-directory-per-lib" + add directories to PATH
The solution I used in the recipe is to let user install all his recipe from the same directory and put all recipes libraries into commons bin,lib,include with a custom deploy() method
It's bad but I havent figured how conan manage its paths ... My paranoia tells me it is there they try to create dependancy to conan rules (and chain us in their system) but i'm not sure.


cfjob wrote:
> Hi,
> Great to see integrate osg to conan.
> Users could use osg from conan without having to rebuild it.
> ... 
> Thank you!
> Cheers,
> Ben

Read this topic online here:

More information about the osg-users mailing list