List features by their option name in cmake output
Suppose you read this:
- ===========================================================
-- Yade configured with following features: BoostLog Odeint VTK OpenMP GTS CGAL PFVFLOW PFVFLOW LINSOLV MPI TWOPHASEFLOW FEMLIKE LBMFLOW THERMAL PotentialParticles
-- Disabled features: GUI CHOLMOD_GPU SPH DEFORM LIQMIGRATION GL2PS MASK_ARBITRARY PROFILING PotentialBlocks
Then you decide to turn any of them on/off (take the first: BoostLog). You still need a way to figure out what the cmake option is (hint: ENABLE_LOGGER).
I propose to stick to just one name, either "-DENABLE_BoostLog" for feature "Boostlog", or LOGGER for feature name (I would go for only uppercased variants).