soprano cmake patch - making backends optional

Ingmar Vanhassel ingmar at exherbo.org
Wed Jan 28 09:46:49 CET 2009


On Wed, Jan 28, 2009 at 09:21:30AM +0100, Maciej Mrozowski wrote:
> Hi
> 
> I believe this should rather go to Sebastian Trueg, but as far as it's 
> buildsystem related I decided to post it here.
> 
> Attached patch just adds cmake options ENABLE_Redland, ENABLE_CLucene and 
> ENABLE_Sesame2 to make it possible to explicitly disable building some 
> backends, even when required dependencies are present in system.
> So far script just autodetects dependencies and enables everything available 
> (and it's not really desired on source based distributions - hence the patch).

Thanks.

I think your patch looks good, except for one issue:

After your patch, tests for all backends will still run, regardless of
whether those backends are enabled. That should be changed, so tests
only run for those backends that are enabled. They do fail otherwise.




More information about the Kde-buildsystem mailing list