[cmake-developers] [CMake 0014694]: Percent symbol (%) in path creates bad autogenerated paths

J Decker d3ck0r at gmail.com
Mon Jan 13 14:15:57 EST 2014


work around; use "" which is the xml code for % to escape it; It
needs to be encoded on the output to the visual studio XML
project/solution

On Mon, Jan 13, 2014 at 8:37 AM, Mantis Bug Tracker
<mantis at public.kitware.com> wrote:
>
> The following issue has been SUBMITTED.
> ======================================================================
> http://www.cmake.org/Bug/view.php?id=14694
> ======================================================================
> Reported By:                Geoff
> Assigned To:
> ======================================================================
> Project:                    CMake
> Issue ID:                   14694
> Category:                   CMake
> Reproducibility:            always
> Severity:                   minor
> Priority:                   normal
> Status:                     new
> ======================================================================
> Date Submitted:             2014-01-13 11:37 EST
> Last Modified:              2014-01-13 11:37 EST
> ======================================================================
> Summary:                    Percent symbol (%) in path creates bad autogenerated
> paths
> Description:
> When 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 Reproduce:
> 1. 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
> ======================================================================
>
> 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
>
> ======================================================================
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers



More information about the cmake-developers mailing list