View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015410CMakeCMakepublic2015-02-18 17:132016-06-10 14:31
Reporterpeclik 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 3.1.3 
Target VersionFixed in Version 
Summary0015410: Allow more characters in generator expression for config (dash, dot etc.)
DescriptionCurrently 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.

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

E.g.
target_compile_definitions(tgt PRIVATE $<$<CONFIG:Release-Tests>:${PROJ_TESTS_DEFS}>)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0037998)
Brad King (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2015-02-18 17:13 peclik New Issue
2015-02-19 08:30 Brad King Note Added: 0037998
2016-06-10 14:29 Kitware Robot Note Added: 0042717
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team