Try using -r for recursive
> On Nov 15, 2013, at 11:15 PM, Janice Vann <[email protected]> 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
