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