The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=12594 ====================================================================== Reported By: David C. Lonie Assigned To: ====================================================================== Project: CMake Issue ID: 12594 Category: (No Category) Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-11-28 10:34 EST Last Modified: 2011-11-28 10:34 EST ====================================================================== Summary: Codeblocks generator ignores CMP0005 Description: 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. Steps to Reproduce: Clone the repository at http://github.com/dlonie/XtalOpt, and run cmake with -DBUILD_TESTS=true using the codeblocks generator. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-11-28 10:34 David C. Lonie 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