Re: [cmake-developers] Rename suffix of Mac OS Framework
Hi Brad, A use case for example is when an InDesign plugin should be developed. The InDesign plugin on Mac OS is a framework with the file extension ".InDesignPlugin". It works if the "Xcode" generator is used and the target property "XCODE_ATTRIBUTE_WRAPPER_EXTENSION" is set to "InDesignPlugin". But it doesn't work if the "Unix Makefiles" generator is used. See also https://cmake.org/Bug/view.php?id=14742 Best Regards Roman > Am 05.10.2015 um 17:31 schrieb Brad King : > >> On 10/01/2015 04:07 AM, Roman Wüger wrote: >> set_target_properties(${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE) >> >> Is there a way to rename the suffix ".framework"? > > Not currently. It is hard-coded here: > > https://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGeneratorTarget.cxx;hb=679a5d21#l2981 > > What is the use case for changing the framework extension? > Doing so breaks the basic layout defined in "man ld": > > -framework name[,suffix] > This option tells the linker to search for `name.frame- > work/name' the framework search path. If the optional > suffix is specified the framework is first searched for > the name with the suffix and then without (e.g. look > for `name.framework/name_suffix' first, if not there > try `name.framework/name'). > > -Brad > -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] Rename suffix of Mac OS Framework
On 10/01/2015 04:07 AM, Roman Wüger wrote: > set_target_properties(${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE) > > Is there a way to rename the suffix ".framework"? Not currently. It is hard-coded here: https://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGeneratorTarget.cxx;hb=679a5d21#l2981 What is the use case for changing the framework extension? Doing so breaks the basic layout defined in "man ld": -framework name[,suffix] This option tells the linker to search for `name.frame- work/name' the framework search path. If the optional suffix is specified the framework is first searched for the name with the suffix and then without (e.g. look for `name.framework/name_suffix' first, if not there try `name.framework/name'). -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] Rename suffix of Mac OS Framework
Hello, at the moment I build my frameworks with the following property: set_target_properties(${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE) If my project is called "Test" for example, then a folder structure with the name "Test.framework" is created. Is there a way to rename the suffix ".framework"? Thanks in advance Best regards Roman -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers