The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13184 
====================================================================== 
Reported By:                Erik Jensen
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13184
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-02 16:48 EDT
Last Modified:              2012-05-02 16:48 EDT
====================================================================== 
Summary:                    Invalid Code::Blocks project generated when build
path contains spaces
Description: 
When the path to the build directory contains spaces, an extra set of quotes is
added surrounding the build directory in make commands.

E.g., the generated file will contain this:

<Build command="nmake /NOLOGO /f &quot;"C:\Path\Dir with spaces\Makefile"&quot; 
VERBOSE=1 all" />

when it should contain

<Build command="nmake /NOLOGO /f &quot;C:\Path\Dir with spaces\Makefile&quot; 
VERBOSE=1 all" />

Note the extra '"' marks in the former.

Steps to Reproduce: 
1. Generate a build tree using the Code::Blocks NMake generator
2. Open the resulting .cbp file.
3. Notice that the extra quotes make the file invalid XML.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-02 16:48 Erik Jensen    New Issue                                    
======================================================================

--

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

Reply via email to