Re: [CMake] Build Library from Thrift generated files

2013-09-05 Thread Eric Noulard
2013/9/5 Pascal Bach : >>> >> >> >> Unknown source file name is just painful. >> >> >> >> Can't the thrift generator tell you the name of the files he will >> >> generate? >> >> Something like: >> >> thrift --generated-file-list Service.thrift >> >> >> >> How wouldn't the output depend on the cont

Re: [CMake] Build Library from Thrift generated files

2013-09-05 Thread Pascal Bach
>> > > >> Unknown source file name is just painful. > >> > >> Can't the thrift generator tell you the name of the files he will generate? > >> Something like: > >> thrift --generated-file-list Service.thrift > >> > > How wouldn't the output depend on the content of the input :-]... just > kidding.

Re: [CMake] Build Library from Thrift generated files

2013-09-04 Thread Eric Noulard
2013/9/4 Pascal Bach : > Hello Eric > >> >> Unknown source file name is just painful. >> >> Can't the thrift generator tell you the name of the files he will generate? >> Something like: >> thrift --generated-file-list Service.thrift >> >> or may be you can teach him the name of the flie you want?

Re: [CMake] Build Library from Thrift generated files

2013-09-04 Thread Eric Noulard
2013/9/4 Pascal Bach : > Hello Eric > > On Wed, Sep 4, 2013 at 11:26 AM, Eric Noulard wrote: >> >> 2013/9/4 Pascal Bach : >> > Hello everybody >> > >> > I'm trying to build a library from source files that are generated at build >> > time. The setup is the following. >> > >> > Inputfiles (Service.

Re: [CMake] Build Library from Thrift generated files

2013-09-04 Thread Pascal Bach
Hello Eric On Wed, Sep 4, 2013 at 11:26 AM, Eric Noulard wrote: > > 2013/9/4 Pascal Bach : > > Hello everybody > > > > I'm trying to build a library from source files that are generated at build > > time. The setup is the following. > > > > Inputfiles (Service.thrift) -> Thrift Compiler/Generat

Re: [CMake] Build Library from Thrift generated files

2013-09-04 Thread Eric Noulard
2013/9/4 Pascal Bach : > Hello everybody > > I'm trying to build a library from source files that are generated at build > time. The setup is the following. > > Inputfiles (Service.thrift) -> Thrift Compiler/Generator -> Several > generated files (gen-cpp/Service.h, gen-cpp/Service.cpp, gen-cpp/T

[CMake] Build Library from Thrift generated files

2013-09-04 Thread Pascal Bach
Hello everybody I'm trying to build a library from source files that are generated at build time. The setup is the following. Inputfiles (Service.thrift) -> Thrift Compiler/Generator -> Several generated files (gen-cpp/Service.h, gen-cpp/Service.cpp, gen-cpp/Types.h, [possibly more] -> Build Li