[CMake] How to add cache variables so they show up in own group in cmake-gui "Grouped View"

Gooch, Allen agooch at bioware.com
Tue Jun 23 16:20:04 EDT 2009


It seems to only group variables if more than one variable has the prefix.  When I added a second variable with the BWA_* prefix, they showed up as expected.  To me, this violates the "principle of least surprise".  Is this behavior present as designed or is it simply a bug?

-ag

-----Original Message-----
From: John Drescher [mailto:drescherjm at gmail.com] 
Sent: Tuesday, June 23, 2009 3:09 PM
To: Gooch, Allen
Cc: Robert Bielik; cmake at cmake.org
Subject: Re: [CMake] How to add cache variables so they show up in own group in cmake-gui "Grouped View"

On Tue, Jun 23, 2009 at 4:04 PM, Gooch, Allen<agooch at bioware.com> wrote:
> My variables all start with "BWA_*" prefix, but I'm still seeing them show up under "Ungrouped Entries" exclusively.
>

This is definitely working for me. I mean if I have 2 or more entries
that start with the same thing up to the first underscore it gets
grouped.

John


More information about the CMake mailing list