[cmake-developers] Preferred case for macro names?

Joachim Wuttke j.wuttke at fz-juelich.de
Mon Nov 12 17:49:50 EST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5110 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20181112/e024f39c/attachment.bin>


More information about the cmake-developers mailing list