View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014694CMakeCMakepublic2014-01-13 11:372016-06-10 14:31
ReporterGeoff 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOS7OS VersionProfessional SP1
Product VersionCMake 2.8.12.1 
Target VersionFixed in Version 
Summary0014694: Percent symbol (%) in path creates bad autogenerated paths
DescriptionWhen there is a percentage symbol (%) in the cmake file path, cmake creates bad file paths to autogenerated .stamp and .sln files. The path to these files seems to have concatenated a copy of itself. In visual studio 11, it reports these errors in the CUSTOMBUILD step for both the ZEROCHECK and user projects.
Steps To Reproduce1. Create a folder with a % in it
2. Create a .c file with a simple main function
3. Create a CMakeLists.txt file with an executable to a the .c file above
4. Run cmake for Visual Studio 11
5. Build all
TagsNo tags attached.
Attached Fileszip file icon bugWithPercent%.zip [^] (564 bytes) 2014-01-13 11:37

 Relationships
related to 0014073closedBrad King VS2010 / VS2012 - Improper escape of semicolon in compile definition 

  Notes
(0034932)
Brad King (manager)
2014-01-13 14:25

As pointed out here:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/9079/focus=9081 [^]

the solution will require encoding % as %25. However, this will need to be done with care because outside of file paths % needs to be left as %.
(0042463)
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-13 11:37 Geoff New Issue
2014-01-13 11:37 Geoff File Added: bugWithPercent%.zip
2014-01-13 14:23 Brad King Relationship added related to 0014073
2014-01-13 14:25 Brad King Note Added: 0034932
2016-06-10 14:29 Kitware Robot Note Added: 0042463
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