MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009912 | CMake | CMake | public | 2009-11-17 17:36 | 2016-06-10 14:31 |
| Reporter | bielow | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0009912: ampersands are not escaped in custom_commands comment section | ||||
| Description | I used the VS2010 Win64 Generator to build a sln file and got the following error when loading the sln file into VS2010B2: my.vcxproj : error : Unable to read the project file "my.vcxproj". my.vcxproj(104,48): The project file could not be loaded. An error occurred while parsing EntityName. Line 25, position 28. This error is due to an ampersand in a post-build event comment: 24 <PostBuildEvent> 25 <Message>blabla & blabla</Message> which is created like this: add_custom_command( TARGET OpenMS POST_BUILD COMMAND ${CMAKE_COMMAND} -E echo "" COMMENT "blabla & blabla" VERBATIM) Removing the "&" solves the issue, but it should be escaped by cmake if thats possible (or removed). In VS9 the original ampersand is escaped using html-style, i.e. "&", but it seems that VS2010B2 ignores this if I replace this manually within the vcxproj file - well at least no error. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-11-17 17:36 | bielow | New Issue | |||
| 2009-11-17 17:44 | bielow | Note Added: 0018467 | |||
| 2009-11-17 17:44 | Bill Hoffman | Status | new => assigned | ||
| 2009-11-17 17:44 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041621 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||