<div class="gmail_quote">On Fri, Mar 20, 2009 at 7:02 AM, Philip Lowman <span dir="ltr"><<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im">On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com" target="_blank">rcdailey@gmail.com</a>></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'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><div><br>This would be a nice thing to have. I had someone complain at work the other day that they had to run "make" before "make test" 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?</div></div></blockquote><div><br></div><div>I'd love to file a feature request for this. Where would I do this? </div></div>