In our ventilator project, we use a hack to compile different programs on the same environment (our integration testing environment) by using an environment variable to define the path to a h file, and use it as such in
The h file to which
INTEGRATION_TEST_H leads most of the times includes headers from libraries, and when trying this with development version (6.1.0rc1), it appears ldf cannot find those libraries.
I have a workaround which is to include one header file from each of our libraries in
main.cpp, but this seems hard to maintain.
I’ll build an example for this soon if needed.