[Cmake] Possible patches for ITK_WRAP_TCL

Brad King brad.king at kitware.com
Tue Apr 22 16:13:39 EDT 2003


> Here are two possible corrections for CMake related to the ITK_WRAP_TCL
> command.  The first one is for the FindCABLE module:

This is done.  Thanks.

> Nevertheless, now the Unix Makefile has some "\ " and I haven't tested
> or even modified the code for Windows Visual C and NMake.
[snip]
>  >     commandArgs.push_back(m_Makefile->GetDefineFlags());

This will not quite work.  The command arguments are fully escaped to
handle spaces in paths.  The define flags would have to be parsed and
added as separate arguments.  Eventually this command will be replaced by
a loaded command in Cable, though, so there isn't much point in spending
much time on it now.

You might want to look at using ADD_CUSTOM_COMMAND to run cable instead.
I haven't tried it, but it should be possible.

-Brad




More information about the CMake mailing list