View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014719CMakeCMakepublic2014-01-25 15:212016-06-10 14:31
ReporterTimo R. 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
Platformamd64OSWindowsOS Version7
Product VersionCMake 2.8.12.1 
Target VersionFixed in Version 
Summary0014719: CMake does not escape strings when generating CPackConfig.cmake
DescriptionOn 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042469)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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


Copyright © 2000 - 2018 MantisBT Team