[Development] Conditional compilation on the CI

Sean Harmer sean.harmer at kdab.com
Mon Jul 7 14:56:34 CEST 2014


I'm in the process of trying to add an integration for the Bullet physics 
engine to Qt3D and have made a patch that introduces a config test for bullet 
and as a result conditionally compiles the qt3dbulletphysics library that 
provides the integration.

This is fine for developing locally but how about the CI nodes? If they don't 
have bullet installed or if bullet is not found by the config test that chunk 
of code will never get compiled during CI runs.

How does the CI handle this for other optional features e.g. in QtMultimedia? 
Do I need to request for bullet to be installed on the CI and for the 
configure invocation to be adjusted so that it can be found when doing Qt3D CI 


Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

More information about the Development mailing list