MantisBT - CMake
View Issue Details
0012594CMake(No Category)public2011-11-28 10:342012-04-02 10:10
David C. Lonie 
David Cole 
normalminoralways
closedduplicate 
Linux
CMake 2.8.6 
CMake 2.8.7CMake 2.8.7 
0012594: Codeblocks generator ignores CMP0005
I 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.
Clone the repository at http://github.com/dlonie/XtalOpt, [^] and run cmake with -DBUILD_TESTS=true using the codeblocks generator.
No tags attached.
duplicate of 0012565closed Clinton Stimpson CBP Generator produces malformed XML - QtCreator integration broken 
Issue History
2011-11-28 10:34David C. LonieNew Issue
2011-11-28 11:00Brad KingAssigned To => Alex Neundorf
2011-11-28 11:00Brad KingStatusnew => assigned
2011-11-28 11:26David ColeNote Added: 0027856
2011-11-28 11:40David C. LonieNote Added: 0027858
2011-11-28 13:09David ColeAssigned ToAlex Neundorf => David Cole
2011-11-28 13:09David ColeTarget Version => CMake 2.8.7
2011-11-28 13:09David ColeRelationship addedduplicate of 0012565
2011-11-28 13:09David ColeStatusassigned => resolved
2011-11-28 13:09David ColeFixed in Version => CMake 2.8.7
2011-11-28 13:09David ColeResolutionopen => duplicate
2012-04-02 10:10David ColeNote Added: 0029050
2012-04-02 10:10David ColeStatusresolved => closed

Notes
(0027856)
David Cole   
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   
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   
2012-04-02 10:10   
Closing resolved issues that have not been updated in more than 4 months.