That bug is regarding "CMAKE_STATIC_LINKER_FLAGS
What about this bug report:
http://www.cmake.org/Bug/view.php?id=12295
which is related to STATIC_LIBRARY_FLAGS
On 1 December 2012 16:00, Timothy J. Arrington wrote:
> The bug is already reported for quite a while:
> http://public.kitware.com/Bu
Hi,
I set this:
set (STATIC_LIBRARY_FLAGS_RELWITHDEBINFO
"${STATIC_LIBRARY_FLAGS_RELWITHDEBINFO} /LTCG")
and it didn't seem to work. MSVC still has no LTCG flag set for any of my
static libraries.
does this feature work?
cheers,
Paul
On 23 June 2011 01:02, Ben Medina wrote:
> So that th
So that the answer stays on the list:
One must use the STATIC_LIBRARY_FLAGS property, rather than
LINK_FLAGS, for static libraries.
On Tue, Jun 21, 2011 at 3:12 PM, Ben Medina wrote:
> Since I got no feedback, I assume it's a bug. I've filed it here:
>
> 0012295: LINK_FLAGS_RELEASE has no effect
Since I got no feedback, I assume it's a bug. I've filed it here:
0012295: LINK_FLAGS_RELEASE has no effect on static libraries for MSVC
generators
http://www.cmake.org/Bug/view.php?id=12295
On Mon, Jun 13, 2011 at 11:50 AM, Ben Medina wrote:
> Hello all,
>
> I'm using CMake 2.8.4 and am seeing
Hello all,
I'm using CMake 2.8.4 and am seeing an odd differenc between static
and shared libraries in regard to the LINK_FLAGS property. In
particular, I'm enabling "Whole program optimization" in Visual Studio
2010, which is done by add /GL as a compiler flag and /LTCG as a
linker flag for the r