title: Can I make one Netbeans project depend on another without hacking a Makefile?
body: <p>In Netbeans 6.5, I've got two different C++ application projects - my application and the unit tests.  I want to set it up so that if my main application is rebuilt, the unit tests are rebuilt as well (and vice versa).</p>
  
  <p>Netbeans is good at resolving the dependencies for library projects, and rebuilding them if necessary, but I can't see any way of making one <em>application</em> project depend upon another.</p>
  
  <p>I <em>could</em> do this by editing the .build-post rule in the Makefile by hand, but that's a bit ugly.</p>
  
  <p>I suspect adding some magic macros to the Project Properties -> Build -> Debug -> Additional Dependencies dialogue would do what I want, but I can't find any docs for this.</p>
  
  <p>I suppose this is probably a sign that I should switch to Cruise Control to automate the process of building and running my tests...</p>