On Mon, Sep 6, 2010 at 2:34 PM, Michael Wild <span dir="ltr"><<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all<br>
<br>
add_test(NAME <name> COMMAND <command>) has these cool generator expressions, where one can use e.g $<TARGET_FILE:tgtname> to obtain the file name of the target. I wondered whether there was a reason as to why this feature isn't available in custom commands, especially in the TARGET form, where it would be really useful in a POST_BUILD command.<br>
<br>
Michael<br>
<font color="#888888"><br>
--<br>
There is always a well-known solution to every human problem -- neat, plausible, and wrong.<br>
H. L. Mencken<br>
<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><div><br></div><div><br></div><div>Hi Michael,</div><div><br></div><div>Same reason as always: too many features, not enough time.</div>
<div><br></div><div>We would love to extend that sort of syntax to custom commands as well. It has simply not been the focus of anybody's time or money budget yet.</div><div><br></div><div><br></div><div>Cheers,</div>
<div>David</div><div><br></div>