[CMake] Need advice for unit test structure

Robert Dailey rcdailey at gmail.com
Wed May 20 21:40:10 EDT 2009


I'm still looking to figure out how a single project can be configured to
generate multiple executables. Can anyone clarify?

On Thu, Apr 9, 2009 at 1:30 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> 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/20090520/6e7fe491/attachment.htm>


More information about the CMake mailing list