[Insight-users] Setting release option in VC++
Radhika Sivaramakrishna
radhika.sivaramakrishna at synarc.com
Tue, 13 Apr 2004 08:09:40 -0700
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_01C42168.E15A9C46
Content-Type: text/plain
Hi Josh,
Could you also let me know how to ensure a release build using VC++. I could
not locate the flag CMAKE_BUILD_TYPE when using CMake. Also I find that the
CMAKE_CXX_FLAGS_RELEASE is set to /MD /02. Should this be changed to /MD
/03?
Or should I take care of the release issue when I finally build using VC++?
Thanks
Radhika
-----Original Message-----
From: Joshua Cates [mailto:cates at sci.utah.edu]
Sent: Monday, March 29, 2004 10:35 AM
To: Radhika Sivaramakrishna
Cc: ITK
Subject: Re: [Insight-users] Computation time revisited
Hi,
Set the CMAKE_BUILD_TYPE type to Release in ccmake. Turn on the
advanced options and make sure that the CMAKE_CXX_FLAGS_RELEASE and
CMAKE_C_FLAGS_RELEASE are correct (i.e. -O3). I also recommend
turning on CMAKE_VERBOSE_MAKEFILE so that you can see the exact command
lines used to build.
Josh.
On Mon, 29 Mar 2004, Radhika Sivaramakrishna wrote:
> Hi Josh,
> How do I make the computer build optimized for a Linux platform?
> I have a Linux distribution of Redhat version 8
> with GCC 3.3 Release 7. Is there something I can change
> when I do either ccmake or make to do get a "release" version
> that turns on all optimizations?
> Thanks
> Radhika
>
> -----------------------------------------------------
> Confidentiality Notice.
> This email message is for the sole use of the intended recipient(s) and
may
> contain confidential and privileged information. Any unauthorized review,
> use, disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message. If you are the intended recipient, please be
> advised that the content of this message is subject to access, review and
> disclosure by the sender's Email System Administrator.
>
-----------------------------------------------------
Confidentiality Notice.
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's Email System Administrator.
------_=_NextPart_001_01C42168.E15A9C46
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.87">
<TITLE>Setting release option in VC++</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>Hi Josh,</FONT>
<BR><FONT SIZE=3D2>Could you also let me know how to ensure a release =
build using VC++. I could not locate the flag CMAKE_BUILD_TYPE when =
using CMake. Also I find that the CMAKE_CXX_FLAGS_RELEASE is set to /MD =
/02. Should this be changed to /MD /03?</FONT></P>
<P><FONT SIZE=3D2>Or should I take care of the release issue when I =
finally build using VC++?</FONT>
<BR><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>Radhika</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Joshua Cates [<A =
HREF=3D"mailto:cates at sci.utah.edu">mailto:cates at sci.utah.edu</A>] =
</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, March 29, 2004 10:35 AM</FONT>
<BR><FONT SIZE=3D2>To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=3D2>Cc: ITK</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Insight-users] Computation time =
revisited</FONT>
</P>
<P><FONT SIZE=3D2>Hi,</FONT>
</P>
<P><FONT SIZE=3D2>Set the CMAKE_BUILD_TYPE type to Release in =
ccmake. Turn on the </FONT>
<BR><FONT SIZE=3D2>advanced options and make sure that the =
CMAKE_CXX_FLAGS_RELEASE and </FONT>
<BR><FONT SIZE=3D2>CMAKE_C_FLAGS_RELEASE are correct (i.e. -O3). =
I also recommend </FONT>
<BR><FONT SIZE=3D2>turning on CMAKE_VERBOSE_MAKEFILE so that you can =
see the exact command </FONT>
<BR><FONT SIZE=3D2>lines used to build.</FONT>
</P>
<P><FONT SIZE=3D2>Josh.</FONT>
</P>
<P><FONT SIZE=3D2>On Mon, 29 Mar 2004, Radhika Sivaramakrishna =
wrote:</FONT>
</P>
<P><FONT SIZE=3D2>> Hi Josh,</FONT>
<BR><FONT SIZE=3D2>> How do I make the computer build optimized for =
a Linux platform?</FONT>
<BR><FONT SIZE=3D2>> I have a Linux distribution of Redhat version =
8</FONT>
<BR><FONT SIZE=3D2>> with GCC 3.3 Release 7. Is there something I =
can change</FONT>
<BR><FONT SIZE=3D2>> when I do either ccmake or make to do get a =
"release" version</FONT>
<BR><FONT SIZE=3D2>> that turns on all optimizations?</FONT>
<BR><FONT SIZE=3D2>> Thanks</FONT>
<BR><FONT SIZE=3D2>> Radhika</FONT>
<BR><FONT =
SIZE=3D2>>  =
;  =
;  =
;  =
; </FONT>
<BR><FONT SIZE=3D2>> =
----------------------------------------------------- </FONT>
<BR><FONT SIZE=3D2>> Confidentiality Notice. </FONT>
<BR><FONT SIZE=3D2>> This email message is for the sole use of the =
intended recipient(s) and may</FONT>
<BR><FONT SIZE=3D2>> contain confidential and privileged =
information. Any unauthorized review,</FONT>
<BR><FONT SIZE=3D2>> use, disclosure or distribution is prohibited. =
If you are not the intended</FONT>
<BR><FONT SIZE=3D2>> recipient, please contact the sender by reply =
email and destroy all copies</FONT>
<BR><FONT SIZE=3D2>> of the original message. If you are the =
intended recipient, please be</FONT>
<BR><FONT SIZE=3D2>> advised that the content of this message is =
subject to access, review and</FONT>
<BR><FONT SIZE=3D2>> disclosure by the sender's Email System =
Administrator.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT =
SIZE=3D2> &nb=
sp; &nb=
sp; &nb=
sp; &nb=
sp; </FONT>
<BR><FONT =
SIZE=3D2>----------------------------------------------------- =
</FONT>
<BR><FONT SIZE=3D2>Confidentiality Notice. </FONT>
<BR><FONT SIZE=3D2>This email message is for the sole use of the =
intended recipient(s) and may contain confidential and privileged =
information. Any unauthorized review, use, disclosure or distribution =
is prohibited. If you are not the intended recipient, please contact =
the sender by reply email and destroy all copies of the original =
message. If you are the intended recipient, please be advised that the =
content of this message is subject to access, review and disclosure by =
the sender's Email System Administrator.</FONT></P>
</BODY>
</HTML>
------_=_NextPart_001_01C42168.E15A9C46--