MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014719 | CMake | CMake | public | 2014-01-25 15:21 | 2016-06-10 14:31 |
| Reporter | Timo R. | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | amd64 | OS | Windows | OS Version | 7 |
| Product Version | CMake 2.8.12.1 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014719: CMake does not escape strings when generating CPackConfig.cmake | ||||
| Description | On Windows, the NSIS install generator needs native path separators. It just removes "/" entirely. So i used file(TO_NATIVE_PATH) to convert my paths, but got a CMake parser on package generation error as a result. The reason for this is, that cmake does not escape the strings it writes into the generated CPackConfig.cmake, so it contains things like SET(CPACK_PACKAGE_EXECUTABLES "bin\64bit\binary;Binary") where it should be SET(CPACK_PACKAGE_EXECUTABLES "bin\\64bit\\binary;Binary") This propably applies to all variables it writes there. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-01-25 15:21 | Timo R. | New Issue | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042469 | |||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||