MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0011259 | CMake | CMake | public | 2010-09-22 23:04 | 2011-05-02 14:46 | |||||
| Reporter | Claus Höfele | |||||||||
| Assigned To | David Cole | |||||||||
| Priority | normal | Severity | crash | Reproducibility | always | |||||
| Status | closed | Resolution | duplicate | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake-2-8 | |||||||||
| Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | |||||||
| Summary | 0011259: Setting CMAKE_OSX_ARCHITECTURES Produces Invalid Xcode Project File | |||||||||
| Description | To generate an Xcode project file for iPhone, I'm using set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_UNIVERSAL_IPHONE_OS)") to specify the architectures for the project. If this setting is missing, Xcode enables the architectures x86_64, i386, and ppc, but not the iPhone architectures (arm). This works with cmake 2.8.0, but not 2.8.2. When using cmake 2.8.2, Xcode 3.2.3 shows an error dialog "Unable to Open Project" "Project ... cannot be opened because the project file cannot be parsed." Repro: - Unpack attached cmake_test.zip - Change into projects directory - Execute ./generate_xcodei2.sh (The shell script sets a variable that my CMakeList.txt needs. -> The resulting project file xcodei/2dots.xcodeproj will not open - Comment out line with CMAKE_OSX_ARCHITECTURES -> Project file works | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | https://public.kitware.com/Bug/file/3407/cmake_test.zip | |||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2010-09-22 23:04 | Claus Höfele | New Issue | ||||||||
| 2010-09-22 23:04 | Claus Höfele | File Added: cmake_test.zip | ||||||||
| 2010-10-09 07:27 | Claus Höfele | Note Added: 0022461 | ||||||||
| 2011-01-17 16:31 | David Cole | Assigned To | => David Cole | |||||||
| 2011-01-17 16:31 | David Cole | Status | new => assigned | |||||||
| 2011-01-17 16:31 | David Cole | Note Added: 0024823 | ||||||||
| 2011-01-17 16:31 | David Cole | Relationship added | duplicate of 0011244 | |||||||
| 2011-01-17 16:31 | David Cole | Status | assigned => resolved | |||||||
| 2011-01-17 16:31 | David Cole | Fixed in Version | => CMake 2.8.3 | |||||||
| 2011-01-17 16:31 | David Cole | Resolution | open => duplicate | |||||||
| 2011-01-17 16:33 | David Cole | Target Version | => CMake 2.8.3 | |||||||
| 2011-05-02 14:46 | David Cole | Note Added: 0026357 | ||||||||
| 2011-05-02 14:46 | David Cole | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||