<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi All,<BR> <BR>Thank you very much.<BR> <BR>I found the reason. It is a spelling error. (UINCODE, not UNICODE) How stupid I am. Thanks again.<BR> <BR>Best regards<BR>Yanming<br> <BR><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Wed, 20 Feb 2013 07:35:57 -0600<br>From: pjohnmeyer+cmake@gmail.com<br>To: ymzou@hotmail.com<br>CC: cmake@cmake.org<br>Subject: Re: [CMake] Remove _MBCS<br><br><div dir="ltr"><br><div class="ecxgmail_extra"><div class="ecxgmail_quote"><blockquote style="padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="ecxgmail_quote">
<div><div dir="ltr">I am developing an application on windows with VS2012 and CMake (2.8.10.2). I want to use unicode in my program, so I add UNICODE and _UNICODE with ADD_DEFINITIONS. However, there is always a _MBCS marco in the generated project file. The project can be compiled, but I am not happy with that. Could someone can tell me how to remove the _MBCS? Thanks.<br>
</div></div></blockquote><div><br></div><div>Did you try remove_definitions?</div><div><a href="http://www.cmake.org/cmake/help/v2.8.1/cmake.html#command:remove_definitions" target="_blank">http://www.cmake.org/cmake/help/v2.8.1/cmake.html#command:remove_definitions</a><br>
</div><div><br></div></div></div></div>
<br>--
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake</div>                                            </div></body>
</html>