<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<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 style>Did you try remove_definitions?</div><div style><a 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>