[CMake] Generator expressions in custom commands

Michael Wild themiwi at gmail.com
Mon Sep 6 14:34:07 EDT 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100906/33c95c55/attachment.pgp>


More information about the CMake mailing list