orocos-bayesian-filtering icon indicating copy to clipboard operation
orocos-bayesian-filtering copied to clipboard

Downstream compile-time selection of wrappers

Open kunaltyagi opened this issue 6 years ago • 2 comments

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.

kunaltyagi avatar May 22 '18 09:05 kunaltyagi

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?

toeklk avatar May 25 '18 08:05 toeklk

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

kunaltyagi avatar May 25 '18 10:05 kunaltyagi