On Mon, Apr 25, 2011 at 11:42 AM, Eric Noulard <span dir="ltr">&lt;<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

2011/4/25 James Bigler &lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; If I have a custom command:<br>
&gt;<br>
&gt; add_custom_command(OUTPUT myfile.out)<br>
&gt;<br>
&gt; Then I add that file to the target:<br>
&gt;<br>
&gt; add_executable(mytarget main.cpp myfile.out)<br>
&gt;<br>
&gt; If I do a &#39;make help&#39; I get rules for main.o, but none for myfile.out.  Is<br>
&gt; there something I can add to create a helper makefile target?<br>
<br>
</div></div>I think there is no &quot;help&quot; for custom command<br>
but there should be one for custom **target**.<br>
<br>
You could try to :<br>
add_custom_target(myfile-out DEPENDS myfile.out COMMENT &quot;Your help string&quot;)<br>
<font color="#888888"><br>
<br>
--<br>
Erk<br>
Membre de l&#39;April - « promouvoir et défendre le logiciel libre » -<br>
<a href="http://www.april.org" target="_blank">http://www.april.org</a><br>
</font></blockquote></div><br>Yeah, that&#39;s not going to work.  I can&#39;t have a target for every single generated file in my build (10s to 100s).  That would make the VS solution a nightmare.<br><br>James<br><br>