[Cmake] ADD_DEFINITIONS working for .NET?
Robert Mathews
rmathews@envoyww.com
Thu, 1 May 2003 14:56:08 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_00A6_01C30FF1.CC0069E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ok, I admit this is unlikely, but is there any trick with the =
ADD_DEFINITIONS command for a .NET (Version 7.0) target?=20
I've added something like this to my CMakeLists.txt file, and the =
definitions don't seem to come out the other end ...
ADD_DEFINITIONS(/DUNICODE /DWIN32 /Zm400 /D_WIN32_WINNT=3D0x501 )
Thanks in advance,
Rob.=20
Visual Studio .NET, Version 7.0, target C/C++ code.=20
------=_NextPart_000_00A6_01C30FF1.CC0069E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Ok, I admit this is unlikely, but is =
there any=20
trick with the ADD_DEFINITIONS command for a .NET (Version 7.0) target?=20
</FONT></DIV>
<DIV> </DIV>
<DIV>I've added something like this to my CMakeLists.txt file, and the=20
definitions don't seem to come out the other end ...</DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>ADD_DEFINITIONS(/DUNICODE /DWIN32 =
/Zm400=20
/D_WIN32_WINNT=3D0x501 )</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Rob. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Visual Studio .NET, Version 7.0, target =
C/C++ code.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_00A6_01C30FF1.CC0069E0--