[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:32:26 EDT 2009


I misspoke. Sorry for the confusion. I had a couple of distinct prefixes, each containing one var.  But to my last question, is this behavior as designed or a bug?  I can always add a dummy var to force a group, but I really want to have only grouped entries, even if there is only one member to the group.

-----Original Message-----
From: Tyler Roscoe [mailto:tyler at cryptio.net] 
Sent: Tuesday, June 23, 2009 3:27 PM
To: Gooch, Allen
Cc: 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 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



More information about the CMake mailing list