MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012942 | CMake | CMake | public | 2012-02-07 16:53 | 2016-06-10 14:31 |
| Reporter | Michael Pechner | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | max | OS | osx | OS Version | 10.6 |
| Product Version | CMake 2.8.7 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012942: Would like to specify a different default location for OSX binary | ||||
| Description | We don't put our apps in the default location. We have a change to cmTarget.cxx to make this happen. We means I finally got permission to report changes my employer made to the code base. | ||||
| Steps To Reproduce | |||||
| Additional Information | We defines a new property: cm->DefineProperty ("MACOSX_BUNDLE_BINARY_PATH", cmProperty::TARGET, "If unset, the actual linked binary is assumed to be in ", "appname.app/Contents/MacOS/appname, if set, then ", "appname.app/MACOSX_BUNDLE_BINARY_PATH/appname for iOS apps ", "setting this to the NULL string is currently the correct thing"); In cmTarget::NormalGetLocation we added some code to over ride the default location: if(this->IsAppBundleOnApple()) { this->Location += this->GetFullName(config, false); // // iOS binaries are not stored in contents/macos // const char* path_override = this->GetProperty( "MACOSX_BUNDLE_BINARY_PATH" ); if( path_override == NULL ) { this->Location += ".app/Contents/MacOS/"; } else { this->Location += ".app/"; this->Location += path_override; if( *path_override ) { this->Location += "/"; } } } | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-02-07 16:53 | Michael Pechner | New Issue | |||
| 2012-02-08 09:06 | Brad King | Note Added: 0028524 | |||
| 2012-02-08 09:06 | Brad King | Status | new => backlog | ||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041980 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||