thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Byron Sorrells <byron.sorre...@gmail.com>
Subject Re: Compiling include files?
Date Sat, 16 Nov 2013 06:02:59 GMT
Try using -r for recursive 

> On Nov 15, 2013, at 11:15 PM, Janice Vann <vannjk@gmail.com> wrote:
> 
> This might be another really obvious question, if so my apologies. When I
> first tried the Delphi tutorial, I was a little confused until I figured
> out the the shared.thrift file had to be compiled as well as the
> tutorial.thrift file. There does not appear to be a compiler option that
> compiles the include files as well, unless I'm missing something?
> 
> For example we have files like:
> Service.thrift
> IncludeShared.thrift
> IncludeCommand.thrift
> IncludeQuery.thrift
> 
> and compiling them like:
> thrift-0.9.1.exe -verbose -o .\ --gen delphi:register_types
> IncludeShared.thrift
> thrift-0.9.1.exe -verbose -o .\ --gen delphi:register_types
> IncludeCommand.thrift
> thrift-0.9.1.exe -verbose -o .\ --gen delphi:register_types
> IncludeQuery.thrift
> thrift-0.9.1.exe -verbose -o .\ --gen delphi:register_types Service.thrift
> 
> It seems like we should build the Service.thrift and it would compile the
> includes- is that possible?
> 
> Thanks!
> Janice

Mime
View raw message