[cmake-developers] [CMake 0014282]: false '/MAP' link flag interpretation

Mantis Bug Tracker mantis at public.kitware.com
Tue Jul 9 06:31:11 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14282 
====================================================================== 
Reported By:                Soeren Freudiger
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14282
Category:                   CMake
Reproducibility:            always
Severity:                   trivial
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2013-07-09 06:31 EDT
Last Modified:              2013-07-09 06:31 EDT
====================================================================== 
Summary:                    false '/MAP' link flag  interpretation
Description: 
It seems that the vs studio generators for VS2010/2011/2012 are buggy.

If you add a map file via link flags to the project there is a dditional
needless':'-character. Maybe the regular expresseion has an error

Steps to Reproduce: 
  SET_TARGET_PROPERTIES( project PROPERTIES LINK_FLAGS -MAP:mymapfile.map )

or

  SET_TARGET_PROPERTIES( project PROPERTIES LINK_FLAGS /MAP:mymapfile.map )

results in following vcxproj entry:

  <MapFileName>:MAP:mymapfile.map</MapFileName>

which leads to compile errors in VS2012

Additional Information: 
Here you can find the official explanation about the map link flag:

http://msdn.microsoft.com/en-us/library/k7xkk3e2(v=vs.110).aspx

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-09 06:31 Soeren FreudigerNew Issue                                    
======================================================================




More information about the cmake-developers mailing list