[cmake-developers] Generating information for C++ tools in cmake (patch)

Manuel Klimek klimek at google.com
Mon Apr 25 12:06:38 EDT 2011


On Mon, Apr 25, 2011 at 8:59 AM, Brad King <brad.king at kitware.com> wrote:
> On 04/25/2011 11:54 AM, Manuel Klimek wrote:
>> Is just putting IF(UNIX) ... around all the stuff enough for that?
>
> It's not just the test.  The C++ implementation cannot handle all
> generators.  It should be taught to run only for generators where it
> is known to work.  Perhaps it can check a value set by each platform
> module.

Ah, ok, I was thinking putting it around the exporting of the flag, so
that you can only switch it on on supported platforms - as far as I
can tell, the code still works on other platforms, the database is
just not enough, right?

Cheers,
/Manuel



More information about the cmake-developers mailing list