[CMake] Missing MAP files support in VS 2005

Laurentiu Nicolae Laurentiu.Nicolae at quintiq.com
Tue Sep 5 11:21:59 EDT 2006


Hi list,

Is there a way of enabling the generation of MAP files in the
CMake-generated projects? I've been digging around in the source code
and I can't seem to find anything that allows it. 

Basically, what I need is to generate the following two lines:
  GenerateMapFile="true"
  MapFileName="path_to/mapfile.map"
corresponding to the linker option
  /MAP:"path_to.mapfile.map"
(Note that the /MAPINFO:LINES linker option has been removed in
VS2005).

I guess the map file could be generated in the same way the PDB options
are generated. Don't know if this is desired for other compilers; I'm
pretty sure GCC can generate map files (-Map). I haven't filled in a
feature request yet because I'm not sure whether this would be a good
addition to CMake.

Cheers,
Laurentiu

-- 

Laurentiu Nicolae
Senior Software Engineer
Quintiq

Tel: +31 (0)73 691 07 39
Fax: +31 (0)73 691 07 54
www.quintiq.com 

This message contains information that may be privileged or confidential
and is the property of Quintiq. It is only intended for the person to
whom it is addressed. If you are not the intended recipient, you are not
authorized to read, print, retain, copy, disseminate, distribute or use
this message or any part thereof. If you have received this message in
error, please notify the sender immediately and delete all copies of
this message. Please note that e-mails are susceptible to change,
therefore they are not binding.


More information about the CMake mailing list