From: Eric Noulard
>> Can you run the source generator at cmake time ?
>
> Yes you are right and I miss that,
> if the generator is launched at CMake time it may help a lot.
> Moreover I would say that the "source file list" generated by the
> generator may be some kind of CMake file, let's say
>
I had another idea. About how many generated files are there, and how
big are they? It they are smallish, you could generate a single source
file that includes the generated files.
generated.cxx
#include "gen1.cxx"
#include "gen2.cxx"
#include "gen3.cxx"
...
Then you could have a custom comma
On Sunday 01 March 2009, you wrote:
> 2009/3/1 Alexander Neundorf :
> > On Friday 27 February 2009, Steve Huston wrote:
...
> > Can you run the source generator at cmake time ?
>
> Yes you are right and I miss that,
> if the generator is launched at CMake time it may help a lot.
> Moreover I would
2009/3/1 Alexander Neundorf :
> On Friday 27 February 2009, Steve Huston wrote:
>> Thanks for the advice, Bill.
>>
>> My situation is somewhat different, though. The output source files
>> are not known ahead of time. Thus, the general scheme is:
>>
>> - build runs the source generator; one of the
On Friday 27 February 2009, Steve Huston wrote:
> Thanks for the advice, Bill.
>
> My situation is somewhat different, though. The output source files
> are not known ahead of time. Thus, the general scheme is:
>
> - build runs the source generator; one of the outputs is a file
> containing the nam
projects that
depend on generated sources
Steve Huston wrote:
I'm working on a project that involves generating a large
chunk of the
sources from separate definitions. The set of generated source
files
is not known before it is generated.
The approach I've tried so far (and I'm ve
/
> -Original Message-
> From: Bill Hoffman [mailto:bill.hoff...@kitware.com]
> Sent: Thursday, February 26, 2009 9:04 PM
> To: Steve Huston
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Technique for generating projects that
> depend on generated sources
>
>
> Steve
Steve Huston wrote:
I'm working on a project that involves generating a large chunk of the
sources from separate definitions. The set of generated source files
is not known before it is generated.
The approach I've tried so far (and I'm very new to cmake) is to
define a custom_command that does
I'm working on a project that involves generating a large chunk of the
sources from separate definitions. The set of generated source files
is not known before it is generated.
The approach I've tried so far (and I'm very new to cmake) is to
define a custom_command that does the source generation,