<font color='black' size='2' face='arial'>Don't be too hard on yourse<font size="2">lf... We all make typos now and ag<font size="2">ain. :-)<br>
<br>
<font size="2">You're smart enough to ask for help when you need it. Even i<font size="2">f it does turn ou<font size="2">t to be something <font size="2">like this in the<font size="2"> end.<br>
<br>
<br>
<font size="2">Cheers,<br>
<font size="2">David C.<br>
<br>
</font></font></font></font></font></font></font></font></font><font color="black" face="arial" size="2">
<div> <br>
</div>
<div> <br>
</div>
<div> <br>
</div>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: YanmingZou <ymzou@hotmail.com><br>
To: Patrick Johnmeyer <pjohnmeyer+cmake@gmail.com><br>
Cc: cmake <cmake@cmake.org><br>
Sent: Thu, Feb 21, 2013 10:15 am<br>
Subject: Re: [CMake] Remove _MBCS<br>
<br>
<div id="AOLMsgPart_2_53879229-dfad-4179-bc57-75c6732c6911">
<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: <a __removedlink__917679865__href="mailto:pjohnmeyer+cmake@gmail.com">pjohnmeyer+cmake@gmail.com</a><br>
To: <a __removedlink__917679865__href="mailto:ymzou@hotmail.com">ymzou@hotmail.com</a><br>
CC: <a __removedlink__917679865__href="mailto:cmake@cmake.org">cmake@cmake.org</a><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 target="_blank" __removedlink__917679865__href="http://www.cmake.org/cmake/help/v2.8.1/cmake.html#command:remove_definitions">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 <a __removedlink__917679865__href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a __removedlink__917679865__href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a __removedlink__917679865__href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a __removedlink__917679865__href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></div>
                                           </div>
</div>
<!-- end of AOLMsgPart_2_53879229-dfad-4179-bc57-75c6732c6911 -->
<div id="AOLMsgPart_3_53879229-dfad-4179-bc57-75c6732c6911" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>--
Powered by <a __removedlink__917679865__href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a __removedlink__917679865__href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a __removedlink__917679865__href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a __removedlink__917679865__href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_3_53879229-dfad-4179-bc57-75c6732c6911 -->
</div>
</font></font>