<div class="gmail_quote">On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I&#39;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?</blockquote>
<div><br>This would be a nice thing to have.  I had someone complain at work the other day that they had to run &quot;make&quot; before &quot;make test&quot; as well.  Seems like CMake should add the dependency to the test target as add_test() is being called.<br>
<br>Have you filed a feature request yet for this?  Is there already one?<br></div></div><br>-- <br>Philip Lowman<br>