| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011207 | CMake | CMake | public | 2010-09-04 13:17 | 2010-11-09 22:57 | ||||
| Reporter | Alexander Todorov | ||||||||
| Assigned To | David Cole | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | duplicate | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-8 | ||||||||
| Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||||||
| Summary | 0011207: CMake 2.8 does not generate output target name properly for VS 2010 generator. | ||||||||
| Description | CMake 2.8 does not generate output target name properly for VS 2010 generator when there is '.' character in the file name. Example: add_library(My.Library STATIC ${SOURCE_FILES} ${HEADER_FILES} ${RESOURCE_FILES}) # Explicitly setting allso does NOT work set_target_properties(My.Library PROPERTIES OUTPUT_NAME "My.Library") set_target_properties(My.Library PROPERTIES SUFFIX ".lib") In this scenario the generated output file is: /OUT:"...\My.Library\Debug\My.lib" /NOLOGO Instead of: /OUT:"...\My.Library\Debug\My.Library.lib" /NOLOGO Projects that depend on the My.Library target are trying to link with "My.Library.lib" resulting in a link error: LINK : fatal error LNK1104: cannot open file '..\My.Library\Debug\My.Library.lib' | ||||||||
| Additional Information | File names could contain the '.' character in CMake 2.6 using the VS 2008 generator. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
| There are no notes attached to this issue. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-09-04 13:17 | Alexander Todorov | New Issue | |
| 2010-09-06 11:16 | David Cole | Status | new => assigned |
| 2010-09-06 11:16 | David Cole | Assigned To | => David Cole |
| 2010-09-06 11:16 | David Cole | Status | assigned => resolved |
| 2010-09-06 11:16 | David Cole | Resolution | open => duplicate |
| 2010-09-06 11:16 | David Cole | Relationship added | duplicate of 0010611 |
| 2010-10-06 14:14 | David Cole | Fixed in Version | => CMake 2.8.3 |
| 2010-10-06 14:14 | David Cole | Target Version | => CMake 2.8.3 |
| 2010-11-09 22:57 | Philip Lowman | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |