View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010094CMakeCMakepublic2010-01-05 11:432014-02-10 10:44
ReporterMatthäus G. Chajdas 
Assigned ToPatrick R. Gansterer 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.10 
Target VersionCMake 2.8.12Fixed in VersionCMake 2.8.12 
Summary0010094: Add support for CMAKE_STATIC_LINKER_FLAGS variable to set librarian flags
DescriptionEven though I'm setting CMAKE_STATIC_LINKER_FLAGS_RELEASE to "/LTGC", a static library gets compiled only with "/OUT:... /NOLOGO" and "/LTGC" is not appended. This results in "MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance"
Additional InformationI can't test it right now, but I remember that this also used to happen with VS 2008.
TagsNo tags attached.
Attached Files

 Relationships
related to 0010768closedBrad King Request STATIC_LIBRARY_FLAGS_<build type> variable for use by MSVC 

  Notes
(0019036)
Bill Hoffman (manager)
2010-01-05 15:03

There is no CMAKE_STATIC_LINKER_FLAGS variable in CMake for any platform....
(0019041)
Matthäus G. Chajdas (reporter)
2010-01-06 04:07

Uh, ok, sorry then. Well, it would be good if CMAKE_STATIC_LINKER_FLAGS_<CONFIGURATION> would be supported :)
(0031850)
Brad King (manager)
2012-12-07 10:46

Moving to backlog awaiting a volunteer with time to address this. Discussion with one has started on the developer list here:

 http://www.cmake.org/pipermail/cmake-developers/2012-December/005900.html [^]
(0032774)
Patrick R. Gansterer (developer)
2013-04-07 12:11

Implementation at:
https://github.com/Kitware/CMake/pull/40 [^]
(0032777)
Brad King (manager)
2013-04-08 10:27

Discussion mentioned in 0010094:0031850 last ended here:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/5559/focus=5623 [^]

with a review of a proposed implementation.
(0033642)
Patrick R. Gansterer (developer)
2013-08-01 03:18

Merged into maser:
http://cmake.org/gitweb?p=cmake.git;a=commit;h=e3b6ab92dbb51945b81896f2d2a53f31ba63ae1a [^]
(0035066)
Robert Maynard (manager)
2014-02-10 10:44

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2010-01-05 11:43 Matthäus G. Chajdas New Issue
2010-01-05 15:03 Bill Hoffman Note Added: 0019036
2010-01-05 15:03 Bill Hoffman Status new => assigned
2010-01-05 15:03 Bill Hoffman Assigned To => Bill Hoffman
2010-01-06 04:07 Matthäus G. Chajdas Note Added: 0019041
2012-12-07 10:44 Brad King Relationship added related to 0010768
2012-12-07 10:46 Brad King Note Added: 0031850
2012-12-07 10:46 Brad King Assigned To Bill Hoffman =>
2012-12-07 10:46 Brad King Severity minor => feature
2012-12-07 10:46 Brad King Status assigned => backlog
2012-12-07 10:46 Brad King Product Version CMake-2-8 => CMake 2.8.10
2012-12-07 10:46 Brad King Summary CMAKE_STATIC_LINKER_FLAGS ignored for VS 2010 => Add support for CMAKE_STATIC_LINKER_FLAGS variable to set librarian flags
2013-04-07 12:11 Patrick R. Gansterer Note Added: 0032774
2013-04-08 10:27 Brad King Note Added: 0032777
2013-04-08 10:42 Brad King Assigned To => Patrick R. Gansterer
2013-04-08 10:42 Brad King Status backlog => assigned
2013-08-01 03:18 Patrick R. Gansterer Note Added: 0033642
2013-08-01 03:19 Patrick R. Gansterer Status assigned => resolved
2013-08-01 03:19 Patrick R. Gansterer Resolution open => fixed
2013-08-01 03:19 Patrick R. Gansterer Fixed in Version => CMake 2.8.12
2013-08-01 03:19 Patrick R. Gansterer Target Version => CMake 2.8.12
2014-02-10 10:44 Robert Maynard Note Added: 0035066
2014-02-10 10:44 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team