Hi,<div><br>&nbsp;</div><div><div>I have a top level custom target that depends on a header file generated by a custom command. &nbsp;I want this custom target to be invoked first so the generated header is built before any other targets needing the header are built.
</div><div><br class="webkit-block-placeholder"></div><div>Adding the ALL keyword to ADD_CUSTOM_TARGET does what I want in make, but it doesn&#39;t seem to work in Visual Studio. &nbsp;The build order dialog shows that the custom target is close to last and none of the other target depends on it.
</div><div><br class="webkit-block-placeholder"></div><div>Is this expected? How do I get it to work without using ADD_DEPENDENCIES on every single target that needs the generated header?</div><div><br class="webkit-block-placeholder">
</div><div>I tried it on both 2.4.8 and cvs.</div><div><br class="webkit-block-placeholder"></div><div>Thanks,</div><div><br class="webkit-block-placeholder"></div><div>Sahn</div></div>