View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012594CMake(No Category)public2011-11-28 10:342012-04-02 10:10
ReporterDavid C. Lonie 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformLinuxOSOS Version
Product VersionCMake 2.8.6 
Target VersionCMake 2.8.7Fixed in VersionCMake 2.8.7 
Summary0012594: Codeblocks generator ignores CMP0005
DescriptionI originally submitted this bug to QtCreator, and was referred here. For reference:

http://bugreports.qt.nokia.com/browse/QTCREATORBUG-6479 [^]

I have the snippet:

# define TESTDATADIR for tests that need input files
cmake_policy(SET CMP0005 NEW) # needed for line below (escapes value)
add_definitions( -DTESTDATADIR="${CMAKE_SOURCE_DIR}/tests/sampledata/")

and the following line is generated in the Codeblocks file:

<Add option="-DTESTDATADIR="/tmp/XtalOpt/tests/sampledata/"" />

which does not escape the internal quotes.
Steps To ReproduceClone the repository at http://github.com/dlonie/XtalOpt, [^] and run cmake with -DBUILD_TESTS=true using the codeblocks generator.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0012565closedClinton Stimpson CBP Generator produces malformed XML - QtCreator integration broken 

  Notes
(0027856)
David Cole (manager)
2011-11-28 11:26

Isn't this a dupe of 0012565 and fixed already in 'master' and 'next' by this commit:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=240d39a6a4f72fe0e45fc1a1403e0b578d36a142 [^]

??
(0027858)
David C. Lonie (reporter)
2011-11-28 11:40

Sorry, I had missed that one -- yes, it looks like the same bug. This can be closed.
(0029050)
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-28 10:34 David C. Lonie New Issue
2011-11-28 11:00 Brad King Assigned To => Alex Neundorf
2011-11-28 11:00 Brad King Status new => assigned
2011-11-28 11:26 David Cole Note Added: 0027856
2011-11-28 11:40 David C. Lonie Note Added: 0027858
2011-11-28 13:09 David Cole Assigned To Alex Neundorf => David Cole
2011-11-28 13:09 David Cole Target Version => CMake 2.8.7
2011-11-28 13:09 David Cole Relationship added duplicate of 0012565
2011-11-28 13:09 David Cole Status assigned => resolved
2011-11-28 13:09 David Cole Fixed in Version => CMake 2.8.7
2011-11-28 13:09 David Cole Resolution open => duplicate
2012-04-02 10:10 David Cole Note Added: 0029050
2012-04-02 10:10 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team