[CMake] Remove _MBCS

Patrick Johnmeyer pjohnmeyer+cmake at gmail.com
Wed Feb 20 08:35:57 EST 2013


> 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.
>

Did you try remove_definitions?
http://www.cmake.org/cmake/help/v2.8.1/cmake.html#command:remove_definitions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130220/0b1b3a2a/attachment.htm>


More information about the CMake mailing list