orocos / orocos-bayesian-filtering

The orocos Bayesian Filtering Library
149 stars 59 forks source link

Downstream compile-time selection of wrappers #47

Open kunaltyagi opened 6 years ago

kunaltyagi commented 6 years ago

Is there a method we can leave the selection of wrappers to downstream? The simplest idea is making the wrappers headers only (I don't know how feasible that is)

Right now, selection of wrappers requires modification in the FindMATRIX.cmake file. This is a slight issue because using Eigen as backend requires a separate dependency management.

toeklk commented 6 years ago

Could you elaborate a little bit on what you mean with downstream. From your first paragraph, I understand that "user" of the installed BFL library could select a matrix/rng library. Inlining the code would then partially do the job I suppose (but you wouldn't have some 'nifty' stuff such as the pkgconfig configuration that tells you with which libraries to link).

I'm afraid I don't understand very well what you mean with your second paragraph though?

kunaltyagi commented 6 years ago

Sorry for the weird usage. I'll elaborate a bit 😅 I'm using BFL with ros, and ros distributes BFL compiled with Boost. This creates subtle bugs in development which are just a wee bit irritating