<br><font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">I have created a custom command that
generates source code for me.</font>
<br>
<br><font size=2 face="sans-serif">There is a slight annoyance still, the
command is excecuted every single time i tell the compiler to build.</font>
<br>
<br><font size=2 face="sans-serif">Can I make it so that it runs the program
only when the source file changes or the target file doesn't exist?</font>
<br>
<br><font size=2 face="sans-serif">I looked at the documentation for add_custom_command
and add_custom_target but found no direct anwser from either.</font>
<br>
<br><font size=2 face="sans-serif">I tried using dependencies but nothing
came out of that for me.</font>
<br>
<br><font size=2 face="sans-serif">-mika</font>
<br>