View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014742 | CMake | CMake | public | 2014-02-07 17:20 | 2016-06-10 14:31 | ||||
Reporter | Roman80 | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Mac OS X | OS | Mac OS X | OS Version | |||||
Product Version | CMake 2.8.12.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014742: Add a FRAMEWORK_SUFFIX or FRAMEWORK_EXTENSION property to change .framework | ||||||||
Description | The target property SUFFIX and/or BUNDLE_EXTENSION doesn't rename the extension of a framework. For e.g. an Adobe InDesign plugin is a framework but with the extension ".InDesignPlugin" Maybe this could also be for other tools/programs too. | ||||||||
Steps To Reproduce | Use the following commands to create a framework project(MyPlugin) add_library(${PROJECT_NAME} SHARED ${HEADERS} ${SOURCES}) set_target_properties(${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE SUFFIX ".InDesignPlugin") Expected result: MyPlugin.InDesignPlugin ---------------------------------------------------------------------- set_target_properties(${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE BUNDLE_EXTENSION ".InDesignPlugin") Expected result: MyPlugin.InDesignPlugin | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035062) Brad King (manager) 2014-02-10 10:07 |
It is common in cross-platform projects to have a shared library or module that also happens to be marked as a framework on OS X builds. Therefore it is possible that SUFFIX is already used to change the extension of the normal build on non-OS X platforms. Even if this is not the case, the proposed behavior is still specific to frameworks. Therefore I think the property name should be prefixed in "FRAMEWORK_". This will take a bit of work because there are many places in the code that hard-code ".framework" as an extension. |
(0039524) Roman80 (reporter) 2015-10-07 04:50 |
It works for the "Xcode" generator if the property "XCODE_ATTRIBUTE_WRAPPER_EXTENSION" is set to "InDesignPlugin", but it does not work for the "Unix Makefiles" generator |
(0042480) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-07 17:20 | Roman80 | New Issue | |
2014-02-10 10:07 | Brad King | Note Added: 0035062 | |
2014-02-10 10:07 | Brad King | Severity | minor => feature |
2014-02-10 10:07 | Brad King | Status | new => backlog |
2014-02-10 10:07 | Brad King | Summary | The target property SUFFIX and/or BUNDLE_EXTENSION doesn't rename the extension of an framework => Add a FRAMEWORK_SUFFIX or FRAMEWORK_EXTENSION property to change .framework |
2015-10-07 04:50 | Roman80 | Note Added: 0039524 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042480 | |
2016-06-10 14:29 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |