[cmake-developers] Fwd: [CMake] Cmake Frameworks and Bitcode

Craig Scott craig.scott at crascit.com
Fri Mar 16 18:51:23 EDT 2018


Forwarding to the developers list since it probably can best be answered
there.

---------- Forwarded message ----------
From: Cameron Palmer <cameron at promon.no>
Date: Tue, Mar 13, 2018 at 1:36 AM
Subject: [CMake] Cmake Frameworks and Bitcode
To: "cmake at cmake.org" <cmake at cmake.org>


So after a bit of hacking it seems that Cmake should provide something like:

CMAKE_OSX_BITCODE_ENABLE

Which would pass -fembed-bitcode to the compiler and linker and remove the
option in Darwin.cmake for -Wl,-headerpad_max_install_names in
CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS.

Does this sound like something that should be submitted as a patch?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20180317/2f20dbeb/attachment.html>


More information about the cmake-developers mailing list