[CMake] Change LTO Type in CMake 3.9 with Clang?

Clément Gregoire lectem at gmail.com
Fri Aug 4 02:56:38 EDT 2017


Not yet, but it is a known issue :
https://gitlab.kitware.com/cmake/cmake/issues/16808

Le ven. 4 août 2017 à 06:03, Breannan Smith <smithbreannan at gmail.com> a
écrit :

> Testing the new LTO support in CMake 3.9, it appears that
> setting INTERPROCEDURAL_OPTIMIZATION to TRUE causes CMake to pass
> '-flto=thin' to Clang. Is it possible to instead have CMake pass
> '-flto=full' (or just '-flto') to Clang?
>
> Thanks!
> --
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170804/acfaed6b/attachment.html>


More information about the CMake mailing list