[cmake-developers] New policy to address rdynamic

Chuck Atkins chuck.atkins at kitware.com
Wed Aug 26 10:42:00 EDT 2015


I've implemented a new policy, CMP0065, to restrict the addition of
CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS to executables to only when the
ENABLE_EXPORTS target property is set.  This should allow us to preserve
backwards compatibility in the places it breaks existing binaries but allow
us to remove it by default for newer projects.

See stage/restrict-shlib-link-flags-to-enable-exports

The motivator behind this is to get closer to easily supporting fully
static binaries..  Any feedback would be appreciated.

- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150826/170eff18/attachment-0001.html>


More information about the cmake-developers mailing list