| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011667 | CMake | CMake | public | 2011-01-06 16:49 | 2011-11-11 10:45 | ||||
| Reporter | David Rogers | ||||||||
| Assigned To | David Cole | ||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-8 | ||||||||
| Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | ||||||
| Summary | 0011667: Xcode Generator: Support for Build Setting conditions. | ||||||||
| Description | For each build setting, different values can be given for different specified conditions. For example: Using different LDFLAGS on i386 vs x86_64. In the project file it is stored like this: "OTHER_LDFLAGS[sdk=iphoneos*][arch=armv7]" = ""; Each additional condition is added in another set of square brackets. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0024771) David Cole (manager) 2011-01-17 12:20 |
Do you have a concrete proposal for how you would like to see this "supported" from CMakeLists files? Thanks. |
|
(0024902) David Rogers (reporter) 2011-01-19 03:20 |
Not exactly. Just off the top of my head, perhaps something like this? set_target_property(${TARGETNAME} PROPERTY XCODE_ATTRIBUTE_OTHER_LDFLAGS "-lm" CONDITIONS "sdk=iphoneos*" "arch=armv7") |
|
(0026160) Johan Björk (reporter) 2011-04-09 11:52 |
This is fixed in CMake 'next'. Syntax is set_target_property(${TARGETNAME} PROPERTY XCODE_ATTRIBUTE_OTHER_LDFLAGS[sdk=iphoneos][arch=armv7] "-lm") |
|
(0026672) David Cole (manager) 2011-06-05 14:38 |
Fixed by this commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c519bb2bb60a95c8b9145af0d9c90900f5b48f3d [^] Included in 2.8.5-rc1 |
|
(0027760) David Cole (manager) 2011-11-11 10:45 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-01-06 16:49 | David Rogers | New Issue | |
| 2011-01-17 12:20 | David Cole | Note Added: 0024771 | |
| 2011-01-17 12:20 | David Cole | Assigned To | => David Cole |
| 2011-01-17 12:20 | David Cole | Status | new => assigned |
| 2011-01-19 03:20 | David Rogers | Note Added: 0024902 | |
| 2011-02-09 14:29 | David Cole | Assigned To | David Cole => |
| 2011-02-09 14:29 | David Cole | Assigned To | => David Cole |
| 2011-02-09 14:29 | David Cole | Status | assigned => backlog |
| 2011-02-09 14:30 | David Cole | Assigned To | David Cole => |
| 2011-04-09 11:52 | Johan Björk | Note Added: 0026160 | |
| 2011-04-14 14:35 | David Cole | Assigned To | => David Cole |
| 2011-04-14 14:35 | David Cole | Status | backlog => assigned |
| 2011-04-14 14:35 | David Cole | Target Version | => CMake 2.8.5 |
| 2011-06-05 14:38 | David Cole | Note Added: 0026672 | |
| 2011-06-05 14:38 | David Cole | Status | assigned => resolved |
| 2011-06-05 14:38 | David Cole | Fixed in Version | => CMake 2.8.5 |
| 2011-06-05 14:38 | David Cole | Resolution | open => fixed |
| 2011-06-05 14:41 | David Cole | Relationship added | related to 0008179 |
| 2011-11-11 10:45 | David Cole | Note Added: 0027760 | |
| 2011-11-11 10:45 | David Cole | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |