[cmake-developers] [CMake 0016107]: please allow for hyphens in function and macro names

Mantis Bug Tracker mantis at public.kitware.com
Sun May 22 03:58:54 EDT 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16107 
====================================================================== 
Reported By:                Stanislaw Halik
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16107
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-05-22 03:58 EDT
Last Modified:              2016-05-22 03:58 EDT
====================================================================== 
Summary:                    please allow for hyphens in function and macro names
Description: 
Given that cmake only allows for function invocation and not arithmetic, you can
support hyphens without an issue for functions also, in addition to existing
support in variable names.

Hyphens are easier on the eyes, fingers, and promote more descriptive names.
Camel case is even worse than underscores, make eyes bleed.

Steps to Reproduce: 
define and try to invoke a function with a hyphen in it.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-05-22 03:58 Stanislaw HalikNew Issue                                    
======================================================================



More information about the cmake-developers mailing list