
Is there a way to write a multi-file-test module in a way that allows me to link it to dynamic and/or a static library version? Currently the software is able to link against a static or a dynamic variant of the boost libraries. If I want to use the boost test framework there seems to be no way how I can build against both variant without changing defines. For the dynamic library variant I would need to define -DBOOST_TEST_ALTERNATIVE_INIT_API while for the static variant I need to use the traditional API. The problem is that the linker in the end decides what library it is linking against. Using the boost/test/included/* variant of the framework does not seem to be supported in a multi-file-test setup. Is there any way I can make this work? Thanks, Jan Jan Blunck Performance Architect RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Geschäftsführer: Steffen Gemuenden, Mark van Vugt www.rtsgroup.net This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system.