[CMake] MACRO + ADD_CUSTOM_COMMAND

Andy Cedilnik andy.cedilnik at kitware.com
Wed Jun 1 07:54:14 EDT 2005


Hi,

You can create macros that will create custom commands, but you cannot
call macros from within custom commands except by using cmake -P.

What exactly are you trying to do?

       Andy

alaterale at elitemail.org wrote:

>Hola,
>I was wondering if its possible to use macros that you make yourself
>with the ADD_CUSTOM_COMMAND command.  Basically I want to define macros
>that I can use to place on custom targets, but I'm finding it hard to do
>this.  Is this possible in the latest version of cmake?
>Thanks!
>

-- 
Andy Cedilnik
Kitware Inc.



More information about the CMake mailing list