The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14708 ====================================================================== Reported By: Amelek Assigned To: ====================================================================== Project: CMake Issue ID: 14708 Category: CMake Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2014-01-18 07:21 EST Last Modified: 2014-01-18 07:21 EST ====================================================================== Summary: Release configuration has LTCG disabled Description: I'm CMake user and I noticed that few project that use CMake (including Ogre and CEGUI) do not have Link time code generation enabled in Release configuration. This naturally renders such solutions useless performance-wise and fixing this manually is tedious.
It seem that bug is in CMake as there is no code in the CMakeList.txt that would explicitly disable this behavior. On network there seem to be some workarounds (put flag manually in some magic variable), but this option should be enabled by default. There is no penalty for having it and resulting code is much faster in most cases. Steps to Reproduce: Configure Ogre, notice that LTCG is disabled in Release configuration Additional Information: LTCG should be enabled in Release configuration ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-01-18 07:21 Amelek New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers