MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0009271 | CMake | CMake | public | 2009-07-14 13:58 | 2016-06-10 14:30 | |||||
| Reporter | goatboy160 | |||||||||
| Assigned To | Bill Hoffman | |||||||||
| Priority | normal | Severity | feature | Reproducibility | always | |||||
| Status | closed | Resolution | moved | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake-2-6 | |||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0009271: Add ability to enable Objective-C Garbage Collection | |||||||||
| Description | Added a target property to enable Garbage collection for Objective-C projects. Index: . =================================================================== --- . (revision 73) +++ . (working copy) @@ -1668,6 +1668,15 @@ this->CreateString("NO")); buildSettings->AddAttribute("GCC_INLINES_ARE_PRIVATE_EXTERN", this->CreateString("NO")); + + const char* gcStr = "NO"; + if(target.GetPropertyAsBool("MACOSX_GCC_OBJC_GC")) + { + gcStr = "YES"; + } + buildSettings->AddAttribute("GCC_ENABLE_OBJC_GC", + this->CreateString(gcStr)); + if(lang && strcmp(lang, "CXX") == 0) { flags += " "; | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2009-07-14 13:58 | goatboy160 | New Issue | ||||||||
| 2009-09-14 15:22 | Bill Hoffman | Note Added: 0017479 | ||||||||
| 2009-09-14 15:22 | Bill Hoffman | Status | new => assigned | |||||||
| 2009-09-14 15:22 | Bill Hoffman | Assigned To | => Bill Hoffman | |||||||
| 2010-09-28 12:05 | goatboy160 | Note Added: 0022376 | ||||||||
| 2011-02-03 18:58 | David Cole | Note Added: 0025267 | ||||||||
| 2011-02-08 14:33 | David Cole | Relationship added | related to 0009125 | |||||||
| 2011-02-10 11:44 | goatboy160 | Note Added: 0025373 | ||||||||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041579 | ||||||||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | |||||||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | |||||||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||