[cmake-developers] fphsa capitalization

Alexander Neundorf neundorf at kde.org
Sat Aug 14 08:08:31 EDT 2010


On Friday 13 August 2010, you wrote:
> On 08/13/2010 03:32 PM, Alexander Neundorf wrote:
> > Which means that if we would switch to Exact case, there would be a
> > mixture of ExactCase and UPPERCASE for years
>
> In that case you should never be writing any CMake commands in lower
> case because at one time 100% of CMake code used upper case commands.
> Now there is a mixture but most people prefer lower case commands.
>
> I fully understand and appreciate your "existing practice" argument
> but I weight it differently.  The longer we wait to provide ExactCase
> variables the more code there will be that uses UPPERCASE.

One last thing: also all the variables and properties coming from cmake (like 
CMAKE_SOURCE_DIR, CMAKE_SYSTEM_NAME, BUILD_WITH_INSTALL_RPATH etc.) are also 
all UPPERCASE.

Alex



More information about the cmake-developers mailing list