View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013184CMakeCMakepublic2012-05-02 16:482016-06-10 14:31
ReporterErik Jensen 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_64OSWindowsOS Version7
Product VersionCMake 2.8.8 
Target VersionFixed in Version 
Summary0013184: Invalid Code::Blocks project generated when build path contains spaces
DescriptionWhen 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 ""C:\Path\Dir with spaces\Makefile"" VERBOSE=1 all" />

when it should contain

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

Note the extra '"' marks in the former.
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029391)
Erik Jensen (reporter)
2012-05-02 16:49

The first example should be:
<Build command="nmake /NOLOGO /f &quot;"C:\Path\Dir with spaces\Makefile"&quot; VERBOSE=1 all" />
(0042037)
Kitware Robot (administrator)
2016-06-10 14:28

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
2012-05-02 16:48 Erik Jensen New Issue
2012-05-02 16:49 Erik Jensen Note Added: 0029391
2012-05-03 13:23 Alex Neundorf Assigned To => Alex Neundorf
2012-05-03 13:23 Alex Neundorf Status new => assigned
2012-08-13 12:44 Alex Neundorf Status assigned => backlog
2012-08-13 12:44 Alex Neundorf Description Updated
2016-06-10 14:28 Kitware Robot Note Added: 0042037
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team