[Cmake] .NET Linker options for Rational tools

Miller, James V (Research) millerjv at crd.ge.com
Thu May 1 14:34:54 EDT 2003


Rational Purify and Quantify require the linker flags 
 
/incremental:no
/fixed:no
 
If I put /fixed:no on any of the CMAKE_*_LINKER_FLAGS, it get ignored by the
.NET generator. I grep'ed all the *.vcproj files and /fixed:no is missing in
all the files.
 
To manually add the options in .NET, I go the properties page for the
executable, and under "Linker"."Command line", I added /fixed:no to the
Additional Options box.  The setting gets written in the vcproj file 
 
<VisualStudioProject>
  <Configurations>
     <Configuration Name="Debug">
        <Tool Name="VCLinkerTool" AdditionalOptions="/MACHINE:I386
/fixed:no"/>
     </Configuration>
   <Configurations>
</VisualStudioProject>
 
Can the .NET generator be set up so that one of the CMAKE_*_LINKER_FLAGS
settings gets put in the AdditionalOptions section? Or has this been fixed
already?

 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/>

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv at research.ge.com <mailto:millerjv at research.ge.com> 

james.miller at research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20030501/4df52a30/attachment.html>


More information about the CMake mailing list