Re: [CMake] Custom-Targets with unknown outputs

2008-05-15 Thread Christoph Cullmann
Am Donnerstag, 15. Mai 2008 09:16:56 schrieb Martin Apel: > That's what I did for a similar problem: I modified the generator to > output a list of generated files, when called with a special command > line switch. > In this case the generator only generates the file list, not the files > themselve

Re: [CMake] Custom-Targets with unknown outputs

2008-05-15 Thread Martin Apel
Christoph Cullmann wrote: Am Mittwoch 14 Mai 2008 16:30:24 schrieben Sie: Are you sure the generated source file names are completely unpredictable? Unless some random generator is being used, those names are probably predictable, and it might be worth your while to look further into figuring

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Clinton Stimpson
Christoph Cullmann wrote: Am Mittwoch 14 Mai 2008 16:57:22 schrieben Sie: Would it work to use ctest in a custom comand to build the generated source files? I'm thinking something similar to how the VTK Examples directory is built as a separate project. Hmm, is it then possible that othe

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Christoph Cullmann
Am Mittwoch 14 Mai 2008 16:57:22 schrieben Sie: > Would it work to use ctest in a custom comand to build the generated > source files? > I'm thinking something similar to how the VTK Examples directory is > built as a separate project. Hmm, is it then possible that other targets depend on the resul

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Christoph Cullmann
Am Mittwoch 14 Mai 2008 16:30:24 schrieben Sie: > Are you sure the generated source file names are completely unpredictable? > Unless some random generator is being used, those names are probably > predictable, and it might be worth your while to look further into figuring > out how you can do that

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Clinton Stimpson
Would it work to use ctest in a custom comand to build the generated source files? I'm thinking something similar to how the VTK Examples directory is built as a separate project. Clint Alan W. Irwin wrote: Hi Christoph: I am going to put this back on the list because others may have bette

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Alan W. Irwin
Hi Christoph: I am going to put this back on the list because others may have better insight than I do. On 2008-05-14 07:05+0200 Christoph Cullmann wrote: Still, how can I at all include the generated sources into my build? I don't want to use the makefiles generated but better convert them to

Re: [CMake] Custom-Targets with unknown outputs

2008-05-13 Thread Alan W. Irwin
On 2008-05-14 06:24+0200 Christoph Cullmann wrote: Hi, what's a good way to integrate a custom target that works like the following: We have a generator, that takes some known files (like bison or flex) but instead of generating few known ones, it will generate a full subdir of source files wi

[CMake] Custom-Targets with unknown outputs

2008-05-13 Thread Christoph Cullmann
Hi, what's a good way to integrate a custom target that works like the following: We have a generator, that takes some known files (like bison or flex) but instead of generating few known ones, it will generate a full subdir of source files with not predictable names. Atm we generate makefiles