On Mon, Nov 21, 2011 at 1:41 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On 11/21/2011 3:33 PM, James Bigler wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Mon, Nov 21, 2011 at 9:39 AM, Brad King <<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a> <mailto:<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>><u></u>> wrote:<br>


    On 11/18/2011 12:50 PM, James Bigler wrote:<br>
        What I'm envisioning is developing a new custom build tool,<br>
        call it CMake Custom Command (or CCC for short)<br>
<br>
    Would the custom commands in the project files just invoke this tool on every build?<br>
<br></div><div class="im">
Yes, any custom command in the project would invoke the same rule file.<br>
</div></blockquote><div class="im">
> Think of it as replacing VS's "interesting" custom build command rule with our own.<br>
<br></div>
I've thought about this idea a few times before in the context of custom<br>
commands with build-time implicit dependency scanning.  It's essentially<br>
a "make" tool, isn't it?  Since "nmake" always comes with VS, perhaps it<br>
can be utilized for this.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Brad<br>
</font></span></blockquote></div><br>Yeah, I haven't thought of it as a 'make' tool, but you are correct.  It would do something to analyze dependencies, report back to VS what they are, then run some custom command if VS says that the dependencies are out of date.  This is how I believe the MSbuild rules are designed to function.<br>