Hi,<br><br>I would like to execute a command exactly one time during each build for any, some or all targets, it this possible in an easy way?<br><br>I fiddled with the ADD_CUSTOM_TARGET and ADD_CUSTOM_COMMAND commands but was unable to do so.
<br>For instance when I used ADD_CUSTOM_TARGET(dummy ALL echo FOO), the &#39;dummy&#39; command is executed only when running &quot;make all&quot; and not  when &quot;make target1&quot;. Setting dependencies for all targets results in multiple invocations of the &#39;dummy&#39; command (as intended).
<br><br>Any help appreciated,<br><br>Peter.<br>