On 03/13/2012 11:49 AM, Andrej Mitrovic wrote:
On 3/13/12, Ali Çehreli<acehr...@yahoo.com> wrote:
Developers wouldn't
want that to happen every time a .d file is compiled.
Well luckily unittests don't run when you compile a .d file but when
you run the app! :)
Good point. :)
Our C++ unit tests are a part of a test binary that has a make file
dependency on the library that the .cc files contribute to.
A changed .cc causes its .o to be built, the .o causes its .a to be
built, the .a causes its unit test application to be built, and finally
the unit test application is executed as a part of the library's post
build step.
Ali