I have to interdependent dll here that i would like to build without having to build them twice (force build both of them and rebuild them again to allow linking).
Here is an exemple :
**DLL A**
void fooA()
{
fooBB();
}
void fooAA()
{
fooB();
}
**DLL B**
void fooB()
{
fooA();
}
void fooBB()
{
}
Is there a way to build those two DLL without mayor refactoring?
Do you actually rebuild both DLLs each time you compile ?
If not, the import libraries should be created the first time – even if the link phase fails because of unresolved externals – and allow subsequent builds to link without error…
edit: we actually have that kind of dependencies in my shop. Our build is incremental indeed, and clean builds need some projects to be built several times in order to link succesfully.