[Cmake] .NET Linker options for Rational tools
Miller, James V (Research)
millerjv@crd.ge.com
Thu, 1 May 2003 14:34:54 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C31010.5BBD3B18
Content-Type: text/plain;
charset="iso-8859-1"
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@research.ge.com <mailto:millerjv@research.ge.com>
james.miller@research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005,
Cell: (518) 505-7065, Fax: (518) 387-6981
------_=_NextPart_001_01C31010.5BBD3B18
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=768192618-01052003><FONT size=2>Rational Purify and Quantify
require the linker flags </FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=768192618-01052003><FONT
size=2>/incremental:no</FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>/fixed:no</FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>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 </FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=768192618-01052003><FONT
size=2><VisualStudioProject></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>
<Configurations></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>
<Configuration Name="Debug"></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT
size=2> <Tool Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386 /fixed:no"/></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>
</Configuration></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>
<Configurations></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT
size=2></VisualStudioProject></FONT></SPAN></DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=768192618-01052003><FONT size=2>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?</FONT></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal> <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B>
<BR><B><I><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &
Computer Vision</SPAN></EM><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY
12301</EM><BR><BR></SPAN></I><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue"><A
href="mailto:millerjv@research.ge.com">millerjv@research.ge.com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue">james.miller@research.ge.com</SPAN></U></EM><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065,
Fax: (518) 387-6981</SPAN></I> </P>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C31010.5BBD3B18--