[CMake] Generator expressions in custom commands
David Cole
david.cole at kitware.com
Mon Sep 6 14:58:27 EDT 2010
On Mon, Sep 6, 2010 at 2:34 PM, Michael Wild <themiwi at gmail.com> wrote:
> Hi all
>
> 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.
>
> Michael
>
> --
> There is always a well-known solution to every human problem -- neat,
> plausible, and wrong.
> H. L. Mencken
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
Hi Michael,
Same reason as always: too many features, not enough time.
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.
Cheers,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100906/e052d253/attachment.htm>
More information about the CMake
mailing list