Joachim Wuttke
2018-11-12 22:49:50 UTC
My understanding was that prevalent usage in modern CMake
is all lowercase for function names, all uppercase for
macro names. In this sense, I submitted a number of merge
requests where function and macro names are normalized, and
in
https://gitlab.kitware.com/cmake/cmake/merge_requests/2607
I suggest an explicit recommendation in the macro and
function doc pages.
Now I am learning from Craig Scott that the more recent
convention is actually all lowercase for macros as well
as for functions.
Thus two requests for comments:
- Shall the reference manual give a clear recommendation
on preferred case, to stear the community away from the
inherited anarchy?
- Macro names all uppercase or all uppercase?
/Joachim
is all lowercase for function names, all uppercase for
macro names. In this sense, I submitted a number of merge
requests where function and macro names are normalized, and
in
https://gitlab.kitware.com/cmake/cmake/merge_requests/2607
I suggest an explicit recommendation in the macro and
function doc pages.
Now I am learning from Craig Scott that the more recent
convention is actually all lowercase for macros as well
as for functions.
Thus two requests for comments:
- Shall the reference manual give a clear recommendation
on preferred case, to stear the community away from the
inherited anarchy?
- Macro names all uppercase or all uppercase?
/Joachim