MantisBT - CMake
View Issue Details
0015410CMakeCMakepublic2015-02-18 17:132016-06-10 14:31
peclik 
Kitware Robot 
normalminoralways
closedmoved 
CMake 3.1.3 
 
0015410: Allow more characters in generator expression for config (dash, dot etc.)
Currently probably [a-zA-Z_] set is allowed.
Other are needed too (dash, dot, hash etc.)

Probably now with cmake in UTF-8, even national chars could be allowed.

Use generator $<CONFIG:Release-Tests>
Results in error "Expression syntax not recognized".

E.g.
target_compile_definitions(tgt PRIVATE $<$<CONFIG:Release-Tests>:${PROJ_TESTS_DEFS}>)
No tags attached.
Issue History
2015-02-18 17:13peclikNew Issue
2015-02-19 08:30Brad KingNote Added: 0037998
2016-06-10 14:29Kitware RobotNote Added: 0042717
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0037998)
Brad King   
2015-02-19 08:30   
For reference, the current implementation is here:

 http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGeneratorExpressionEvaluator.cxx;hb=v3.1.3#l726 [^]

and validates with the regex "^[A-Za-z0-9_]*$".
(0042717)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.