alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.33k stars 333 forks source link

CMake options missing project specific prefix #315

Closed globberwops closed 1 year ago

globberwops commented 1 year ago

Feature category

The problem

CMake options do not have a project specific prefix and may hence interact/interfere with the cache variables of a parent project.

The solution I'd like Prefix CMake options with the project name. This will not only fix the above problem, but will also nicely cluster the variables in the CMake cache and the CMake GUI.

Alternatives I've considered None.

alandefreitas commented 1 year ago

Yes. Namespacing these options would be great. It has caused me a few problems in past as well.