On 6. Sep, 2010, at 20:58 , David Cole wrote: > On Mon, Sep 6, 2010 at 2:34 PM, Michael Wild <[email protected]> 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 > > 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
The only acceptable answer ;-) In case somebody gets bored: http://cmake.org/Bug/view.php?id=11209 -- There is always a well-known solution to every human problem -- neat, plausible, and wrong. H. L. Mencken
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ 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
