[cmake-developers] [CMake 0014932]: Cannot set library linker flags for each configuration individually

Mantis Bug Tracker mantis at public.kitware.com
Fri May 23 16:55:43 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14932 
====================================================================== 
Reported By:                Saad
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14932
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-05-23 16:55 EDT
Last Modified:              2014-05-23 16:55 EDT
====================================================================== 
Summary:                    Cannot set library linker flags for each
configuration individually
Description: 
Issue is related to: 0012295(http://www.cmake.org/Bug/view.php?id=12295)

We already have CMAKE_EXE_LINKER_FLAGS_RELEASE for specifying executable linker
flags (as well as MODULE and SHARED) but no variable for STATIC libraries.
STATIC_LIBRARY_FLAGS does not work because it sets the flag(s) for all
configurations. A variable such as CMAKE_STATIC_LINKER_FLAGS_RELEASE (and
CMAKE_STATIC_LINKER_FLAGS_DEBUG etc.) that sets the flags for the VC++ librarian
would be ideal.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-05-23 16:55 Saad           New Issue                                    
======================================================================



More information about the cmake-developers mailing list