[CMake] Remove _MBCS

Matthew Woehlke matthew.woehlke at kitware.com
Wed Feb 20 10:29:38 EST 2013


On 2013-02-18 04:00, YanmingZou wrote:
> 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.

Depending on where it is coming from...

   add_definitions(-DUNICODE -D_UNICODE -U_MBCS)

...might work? :-)

-- 
Matthew



More information about the CMake mailing list