<div dir="ltr">Sorry; it would help if the target name was correct.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 9, 2014 at 11:55 PM, J Decker <span dir="ltr"><<a href="mailto:d3ck0r@gmail.com" target="_blank">d3ck0r@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">add_custom_target( xxx ) <div>add_custom_command( TARGET xxx </div><div>   (PREBUILD? POSTBUILD? PRELINK?)</div>
<div>COMMAND blah )<br></div><div><br></div><div>Why doesn't that work?</div><div><br></div>
<div>Right now I just have a dirty cmake script that does a bunch of macos that do ...  EXECUTE( cmake copy_if_different )'s and I just want to run those as a target instead of as 'cmake .'</div><div><br></div>

<div>replacing "EXECUTE( "  with "add_custom_command( TARGET xxx " would be a really simple conversion....</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>