We need to build googletest and xorg-gtest from source for users of xorg-gtest because we cannot guarantee a stable ABI (see googletest documentation/C++ ODR for reasons).
This means we need googletest source, xorg-gtest source and actual test sources around to compile. To further entertain developers, one shouldn't make install googletest (it will complain about it), one must provide an absolute path to googletest's sources for xorg-gtest, one must make install xorg-gtest, and then, in the client, provide the path to the googletest sources and set PKG_CONFIG_PATH etc. to the xorg-gtest installed bits. This is madness, or at least inconvenient, whichever comes first. Extra fun is to be had if one tries to build against a googletest that's in the package repo and may be out of date. These patches import googletest into xorg-gtest and thus allow xorg-gtest to be built with normal dependencies only, and likewise the clients to use xorg-gtest without having to worry about googletest. Clients must update to the new Makefile-xorg-gtest.am though to avoid build errors once this is merged. Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
