Hi James, * James Laird wrote on Mon, Aug 01, 2005 at 11:40:16PM CEST: > > Since all of the tests include the main library (using LDADD), they all > depend on that library. Thus, when the main library is changed, all of > the tests must be recompiled. > > It would be nice if, when the library is configured as a shared library, > the tests only needed to re-link rather than being completely recompiled. > I can't figure out a way to do this short of editing automake itself. > Any ideas?
Recompilation should not happen. Show the Makefile.am snippet or a pointer to the source which exhibits this problem with a way to reproduce it. Sure there is not also a changed header file which is included (maybe implicitly) by the test code? Cheers, Ralf
