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

Tyler Roscoe tyler at cryptio.net
Tue Jun 23 16:27:03 EDT 2009


On Tue, Jun 23, 2009 at 01:20:04PM -0700, Gooch, Allen wrote:
> 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?

I'm confused. If "all" your variables start with BWA_, how can you add a
"second" variable with the BWA_ prefix?

tyler

> -----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
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list