[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:04:17 EDT 2009


My variables all start with "BWA_*" prefix, but I'm still seeing them show up under "Ungrouped Entries" exclusively.

-----Original Message-----
From: Robert Bielik [mailto:robert.bielik at xponaut.se] 
Sent: Tuesday, June 23, 2009 2:58 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"

Gooch, Allen skrev:
> I have several variables I would like to have configured using a custom 
> group which shows up in the "Grouped View" of cmake-gui.  How is this done?

If I'm not mistaken, grouping is done by checking prefixes. So if your variables are named
"MYCUSTOMVAR_*" they'd popup under "MYCUSTOMVAR". 

Correct me if I'm wrong :)

Regards
/Rob



More information about the CMake mailing list