I have a C++ class implementation file which has some constants. The constants appear before the class method implementations. I want to group the constants together. My groups and descriptions show up in the Modules tab, but the groups are all empty. The detailed description is present but none of the group members. The groups are like this:
//!
//! @defgroup MY_FOOBARS list of foobar constants
//!
//! This is a more detailed description of the role
//! played by the foobar constants
//!
//! @{
static const char* FOOBAR1 = "AA"; //!< A short summary of FOOBAR1
static const char* FOOBAR2 = "BB"; //!< A short summary of FOOBAR2
//! @}
I've also tried explicitly adding the group members with @addtogroup or @ingroup, but neither seem to work.
Any thoughts on why this doesn't work and what I need to do to make it work?
EDIT typo pointed out by Chris
SOLUTION
To make this work I needed to set EXTRACT_STATIC=YES in my doxygen config.
To make this work I needed to set EXTRACT_STATIC=YES in my doxygen config. If this isn't done, the static variables in my group would not be included in the documentation.