| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012259 | CMake | CMake | public | 2011-06-09 04:33 | 2012-01-02 15:56 | ||||
| Reporter | Jesse Beder | ||||||||
| Assigned To | David Cole | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Mac | OS | OS X | OS Version | 10.6.7 | ||||
| Product Version | CMake 2.8.4 | ||||||||
| Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | ||||||
| Summary | 0012259: CMake generates invalid Xcode projects when given an Xcode attribute with a comma | ||||||||
| Description | Xcode can't open the file, saying that "the project could not be parsed". The example given generates the line TARGETED_DEVICE_FAMILY = 1,2; If you change all instances to TARGETED_DEVICE_FAMILY = "1,2"; then the project can be parsed correctly. I'm guessing CMake should just quote any string with a comma. | ||||||||
| Steps To Reproduce | Use the following CMakeLists.txt file: cmake_minimum_required(VERSION 2.6) project(test) set(CMAKE_OSX_SYSROOT iphoneos4.2) set(CMAKE_OSX_ARCHITECTURES "armv6;armv7") add_executable(test test.c) set_target_properties(test PROPERTIES XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2") and run cmake with "-G Xcode", and then try to open the Xcode project. (The file "test.c" can be anything.) | ||||||||
| Additional Information | Xcode version 3.2.5, 64-bit | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0026802) Johan Björk (reporter) 2011-06-09 04:39 |
Attached patch. Do you know any other characters that can appear in xcode configuration files that need quotes? |
|
(0027171) David Cole (manager) 2011-08-04 14:56 |
Fix pushed to CMake 'next': http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d87eb350f6b7c810145205fb6819e3174efdcc23 [^] |
|
(0028121) David Cole (manager) 2012-01-02 15:56 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-06-09 04:33 | Jesse Beder | New Issue | |
| 2011-06-09 04:39 | Johan Björk | Note Added: 0026802 | |
| 2011-06-09 04:39 | Johan Björk | File Added: 0001-xcode-Also-qoute-for-xcode-strings-0012259.patch | |
| 2011-06-13 14:42 | David Cole | Assigned To | => David Cole |
| 2011-06-13 14:42 | David Cole | Status | new => assigned |
| 2011-08-03 21:48 | David Cole | Target Version | => CMake 2.8.6 |
| 2011-08-04 14:56 | David Cole | Note Added: 0027171 | |
| 2011-08-04 14:56 | David Cole | Status | assigned => resolved |
| 2011-08-04 14:56 | David Cole | Fixed in Version | => CMake 2.8.6 |
| 2011-08-04 14:56 | David Cole | Resolution | open => fixed |
| 2012-01-02 15:56 | David Cole | Note Added: 0028121 | |
| 2012-01-02 15:56 | David Cole | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |