[CMake] SET_TARGET_PROPERTIES( xx LINK_FLAGS -MAP:mymap.map) vcxproj error

"Sören Textor [Ditec-GmbH]" s.textor at ditec-gmbh.de
Tue Jul 9 06:38:32 EDT 2013


Hello
     SET_TARGET_PROPERTIES( myProj PROPERTIES LINK_FLAGS -MAP:mymapfile.map)
and also
     SET_TARGET_PROPERTIES( myProj PROPERTIES LINK_FLAGS /MAP:mymapfile.map)

results in
     <MapFileName>:ficken.amp</MapFileName>

inside the vcxproj files and leads within VS2012 to compile/link errors, 
because the leading ':' is incorrect.

The error seems to belong since cmake contains a vcxproj generator. I've 
tested cmake 2.8.9, 2.8.10.2, 2.8.11, 2.8.11.2.

Is it a bug (I sumited one to http://www.cmake.org/Bug/view.php?id=14282 
or only my fault?

Best
SirAnn
<http://www.cmake.org/Bug/view.php?id=14282>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130709/3981b50a/attachment.htm>


More information about the CMake mailing list