[CMake] RUN_TESTS project & dependencies

Robert Dailey rcdailey at gmail.com
Thu Mar 19 00:35:44 EDT 2009


I'm currently using Visual Studio 2008 and CMake v2.6.3. I noticed that when
I create unit tests, they are not added as dependencies in the solution
containing all of the unit test projects + the RUN_TESTS project. For
example, when I change one of the source files in a particular unit test
project, running RUN_TESTS will still run the old tests and not force them
to rebuild. If RUN_TESTS had a dependency on all unit tests in the solution
this problem would be solved. Is there a way to set this up? If not, why is
this behavior not supported?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090318/c7977fb1/attachment.htm>

More information about the CMake mailing list