[Insight-developers] [ITK + Wrapping (Python)] Wrappingclasses proposal - V.3

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Aug 2 04:50:56 EDT 2005


On Tue, 02 Aug 2005 10:31:04 +0200, Benoit Regrain  
<benoit.regrain at creatis.insa-lyon.fr> wrote:

> No, because I'm writting these files in multi-pass, using FILE_WRITE  
> with the
> APPEND flag. And due to the keep of the actual file list, it seems  
> impossible
> with the CONFIGURE_FILE command.

It seems to be feasible to write a temp file, and then use CONFIGURE_FILE  
to copy the temp file to a file named wrap_???.cxx
Don't you think so ?

>
> In CMake, how could I could I have a return variable in a macro ?
> I don't success to have a macro like the SET command.
> Is anyone help me to do that ?
>
> Cheers
> Benoit Regrain
>
>
> ----- Original Message ----- From: "William A. Hoffman"  
> <billlist at nycap.rr.com>
> To: "Gaetan Lehmann" <gaetan.lehmann at jouy.inra.fr>
> Cc: <insight-developers at itk.org>
> Sent: Monday, August 01, 2005 9:21 PM
> Subject: Re: [Insight-developers] [ITK + Wrapping (Python)]  
> Wrappingclasses proposal - V.3
>
>
>> At 03:08 PM 8/1/2005, Gaetan Lehmann wrote:
>>
>>
>>> We are talking about the wrapper system done by Benoit where  
>>> wrap_*.cxx files
>>> are generated by cmake.
>>> This system introduce great things:
>>> + consistent naming
>>> + ability to create code in wrapped language at build time
>>> + ...
>> OK, so, are you using CONFIGURE_FILE to write the wrap_*.cxx files?
>> If so, it should do a copy if different, and the files should not  
>> change.
>>
>> -Bill
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers at itk.org
>> http://www.itk.org/mailman/listinfo/insight-developers
>



-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list