[CMake] Need advice for unit test structure

Robert Dailey rcdailey at gmail.com
Thu Apr 9 14:30:10 EDT 2009


On Thu, Apr 9, 2009 at 12:59 PM, Paul Oppenheim (Poppy Linden) <
poppy at lindenlab.com> wrote:
>
> I don't have that particular case, but I could support it. With my scenario
> each test is its own binary. This is normally messy, but because tests are
> built in sub-projects it's not noticeable in the main build. Each group of
> tests looks like one test in the main build, but are completely separate in
> the sub-build.


I don't see how you are forcing each CPP to result in an executable. Could
you explain? Also, if one source file fails to compile, will the rest of the
source files continue to compile or not?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090409/7f1513cd/attachment.htm>


More information about the CMake mailing list