| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012002 | CMake | CMake | public | 2011-03-22 13:15 | 2011-06-18 07:38 | ||||
| Reporter | Johan Björk | ||||||||
| Assigned To | Brad King | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | ||||
| Product Version | CMake 2.8.4 | ||||||||
| Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | ||||||
| Summary | 0012002: 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 | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0025863) Johan Björk (reporter) 2011-03-22 13:15 |
You can work around the issue by using OUTPUT_NAME target property and naming your target something else. |
|
(0025871) Brad King (manager) 2011-03-22 16:30 |
Simply an oversight, thanks: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=08428ba3 [^] |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-03-22 13:15 | Johan Björk | New Issue | |
| 2011-03-22 13:15 | Johan Björk | Note Added: 0025863 | |
| 2011-03-22 16:24 | Brad King | Assigned To | => Brad King |
| 2011-03-22 16:24 | Brad King | Status | new => assigned |
| 2011-03-22 16:30 | Brad King | Note Added: 0025871 | |
| 2011-03-22 16:30 | Brad King | Status | assigned => closed |
| 2011-03-22 16:30 | Brad King | Resolution | open => fixed |
| 2011-06-18 07:38 | David Cole | Fixed in Version | => CMake 2.8.5 |
| 2011-06-18 07:38 | David Cole | Target Version | => CMake 2.8.5 |
| 2011-08-02 09:40 | Brad King | Relationship added | has duplicate 0012380 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |