[Cmake] Debug and Release project settings for VC++ 6.0

Sunil Movva smovva at itsc . uah . edu
Wed, 26 Mar 2003 17:01:32 -0600


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2F3EB.A46878A5
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

1. I need to link my application with different libraries for Debug and =
Release versions.
Say, I have Ad.lib and A.lib. My release project settings should link =
against A.lib=20
and debug settings should link against Ad.lib.=20

2. I would also like to have different output library names for release =
and debug versions.=20
ADD_LIBRARY(SHARED xyz) would generate Debug/xyz.dll and =
Release/xyz.dll.
But I would like to have Debug/xyzd.dll and Release/xyz.dll.

I would appreciate if someone could give me a cmake example with this =
scenarios.
=20
thanks,
Sunil

------_=_NextPart_001_01C2F3EB.A46878A5
Content-Type: text/html;
	charset="iso-8859-1"
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=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.5770.91">
<TITLE>Debug and Release project settings for VC++ 6.0</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">1. I need to link my application with =
different libraries for Debug and Release versions.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Say, I have Ad.lib and A.lib. My =
release project settings should link against A.lib </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">and debug settings should link against =
Ad.lib. </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">2. I would also like to have different =
output library names for release and debug versions. </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">ADD_LIBRARY(SHARED xyz) would generate =
Debug/xyz.dll and Release/xyz.dll.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">But I would like to have =
Debug/xyzd.dll and Release/xyz.dll.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I would appreciate if someone could =
give me a cmake example with this scenarios.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">thanks,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Sunil</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2F3EB.A46878A5--