View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012565CMakeCMakepublic2011-11-09 06:082012-04-02 10:10
ReporterThomas McGuire 
Assigned ToClinton Stimpson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSOS Version
Product VersionCMake 2.8.5 
Target VersionCMake 2.8.7Fixed in VersionCMake 2.8.7 
Summary0012565: CBP Generator produces malformed XML - QtCreator integration broken
DescriptionThe CBP generator produces incorrect XML in some cases, I'll attach a very small testcase now.
QtCreator uses the CBP generator for its CMake integration, this bug means that CMake integration in QtCreator is completely broken, since the QtCreator XML parses aborts on any malformed XML.

The issues is with quoting, the generator does not handle nested quoting, a " should be transformed to " in the XML in this case.

This is with cmake version 2.8.5.20110910-ge27a0.
Steps To Reproduce1. Run "cmake -G"CodeBlocks - Unix Makefiles"" on the attached CMakeLists.txt
2. Have a look at the generated Project.cdp, it contains:
        <Add option="-DPROGRAM_NAME="HelloWorld"" />
   This should be:
        <Add option="-DPROGRAM_NAME="HelloWorld"" />
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (154 bytes) 2011-11-09 06:08 [Show Content]

 Relationships
has duplicate 0012594closedDavid Cole Codeblocks generator ignores CMP0005 

  Notes
(0027737)
David Cole (manager)
2011-11-09 06:12

This issue has been fixed already in CMake 'next' and 'master' -- the fix will be in the 2.8.7 release.

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=240d39a6a4f72fe0e45fc1a1403e0b578d36a142 [^]
(0029040)
David Cole (manager)
2012-04-02 10:10

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-11-09 06:08 Thomas McGuire New Issue
2011-11-09 06:08 Thomas McGuire File Added: CMakeLists.txt
2011-11-09 06:11 David Cole Assigned To => Clinton Stimpson
2011-11-09 06:11 David Cole Status new => assigned
2011-11-09 06:12 David Cole Note Added: 0027737
2011-11-09 06:12 David Cole Status assigned => resolved
2011-11-09 06:12 David Cole Fixed in Version => CMake 2.8.7
2011-11-09 06:12 David Cole Resolution open => fixed
2011-11-09 06:12 David Cole Target Version => CMake 2.8.7
2011-11-09 06:12 David Cole Description Updated
2011-11-09 06:12 David Cole Steps to Reproduce Updated
2011-11-28 13:09 David Cole Relationship added has duplicate 0012594
2012-04-02 10:10 David Cole Note Added: 0029040
2012-04-02 10:10 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team