
20 Dec
2011
20 Dec
'11
4:23 p.m.
on Tue Dec 20 2011, Mateusz Ĺoskot <mateusz-AT-loskot.net> wrote:
Hi,
I'm trying to figure out if there is anything I could do to improve compile/link-time for tests of Boost.Geometry library. Currently, the tests follow fairly canonical approach in Boost:
1) Each .cpp file defines a single test program and all local test routines are executed from test_main()
That's your problem right there. The canonical organization is unfriendly to fast test times and I would not use it for my next library. It's better to put more tests together in the same executable, and more in the same translation unit. -- Dave Abrahams BoostPro Computing http://www.boostpro.com