[Click] compound element in separate file?
Nele Gheysens
nele.gheysens at intec.ugent.be
Mon Dec 10 05:29:18 EST 2007
Hi Eddy,
thank you for your advice. This works just fine.
Nele & Daan
Eddie Kohler wrote:
> Hi Nele,
>
> You can't do this exactly. However, people have had good success
> using cpp (the C preprocessor) as a front end. For example:
>
> classes.clickp
> ================================
> elementclass X { ... }
>
> x.clickp
> ================================
> #include "classes.clickp"
> X;
>
> ================================
> Then:
>
> % cpp x.clickp | click
>
> or
>
> % cpp x.clickp | click-install
>
> Eddie
>
>
>
> Nele Gheysens wrote:
>> Hello,
>>
>> we were wondering whether it is possible to define a compound element
>> in a separate file, and 'include' this file in another click script.
>> (In this way we can separate the functionality of a specific part of
>> our implementation from a generic click framework that we put around
>> it. So it would be easier to compare 2 different solutions by just
>> changing the name of the compound element and including another click
>> script...)
>>
>> Kind regards,
>> Nele & Daan
>>
--
Nele Gheysens
Ghent University - IBCN
Department of Information Technology
Gaston Crommenlaan 8 bus 201
9050 Gent, Belgium
E-mail: nele.gheysens at intec.UGent.be
Tel. +32 9 33 14981
secr.: +32 (0) 9 33 14900
fax : +32 (0) 9 33 14899
WWW: http://www.ibcn.intec.UGent.be
More information about the click
mailing list