[cmake-developers] [CMake 0012002]: CMake generator expressions does not allow dots in target names

Mantis Bug Tracker mantis at public.kitware.com
Tue Mar 22 13:15:26 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12002 
====================================================================== 
Reported By:                Johan Björk
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12002
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-03-22 13:15 EDT
Last Modified:              2011-03-22 13:15 EDT
====================================================================== 
Summary:                    CMake generator expressions does not allow dots in
target names
Description: 
CMake fails with "Expression syntax not recognized."  when there is a dot in the
target name




Steps to Reproduce: 
Following cmake file:

CMAKE_MINIMUM_REQUIRED (VERSION 2.8.4)
ADD_EXECUTABLE(foo.bar bar.c)
ADD_CUSTOM_COMMAND(TARGET foo.bar
POST_BUILD
COMMAND cmake -E echo $<TARGET_FILE:foo.bar>
)


Additional Information: 
cmake version: 
cmake version 2.8.4.20110318-g86210

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-22 13:15 Johan Björk    New Issue                                    
======================================================================




More information about the cmake-developers mailing list